This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* By default joomla display 10 pages in pagination. This file allows | |
* us to customize the number of displayed pages. | |
* | |
* Simply add this file to $template/html/pagination.php and | |
* change $displayedPages variable. | |
*/ | |
defined('_JEXEC') or die('Restricted access'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -TypeDefinition @" | |
using System; | |
using System.Net; | |
using System.Runtime.InteropServices; | |
public class NetworkUtil | |
{ | |
[DllImport("iphlpapi.dll", SetLastError = true)] | |
static extern uint GetExtendedTcpTable(IntPtr pTcpTable, ref int dwOutBufLen, bool sort, int ipVersion, TCP_TABLE_CLASS tblClass, int reserved); | |
[DllImport("iphlpapi.dll", SetLastError = true)] |