| (2 posts) | RSS feed for this topic |
|
No tags yet. | |
It's a old topic, but i think you still need this (or others).
The code i created can be used to show the banned sites.
All sites u insert in the PTP admin banned sites, will be showed on auto on this list.
Delete one or more, and they are not on the list anymore :)
Create a file called ptp_banned.php en enter the code below.
Save it and upload it to the page folder.
<br />
<script language="php"> include("setup.php");</script><br />
<script language="php"> include("header.php");</script><br />
<script language="php"> include("account_menu.php");</script><br />
<center><br />
<? include('../scripts/plugins/nsptp/include.php'); ?><br />
<script language="php"> include("ptpmenu.php");</script></p>
<p><table width="50%" cellpadding=2 border=1><br />
<tr><br />
<td align="center" class="cat2"><h2><b>PTP Banned</b></h2></td><br />
</tr><br />
<tr><br />
<td align="center"><br />
<?<br />
$rows=@mysql_query('select domain from nsptp_banned where domain!=""<br />
group by domain order by id desc limit 50');<br />
while ($line=@mysql_fetch_row($rows)){<br />
echo ''.$line[0].'';<br />
}<br />
?><br />
</td><br />
</tr><br />
</table><br />
</center><br />
<script language="php"> include("footer.php");</script><br />
Now open ptpmenu.php and find:
<a href=""ptpmain.php"">PTP Main</a> - <a href=""ptpconvert.php"">Convert</a> - <a href=""ptpcampaigns.php"">PTP Campaigns</a></p><br />
Add after:
- <a href=""ptp_banned.php"">PTP Banned</a>
Find:
<br />
<p dir="ltr"><a href=""ptpmain.php"">PTP Main</a> - <a href=""ptpcampaigns.php"">PTP Campaigns</a></p><br />
Add after:
Save and upload to the page folder again.
Now you have a link inside the ptpmain page to the banned list.
Enjoy the new option :)
You must log in to post.