View file wapirate/surf/themes/decorative/mini_form.php

File size: 1.33Kb
<?php

$random = rand(1,3);



if($random==1){

$advert = "Download on iTunes Apple Store";

$site = "http://c.mobpartner.mobi/?s=7289";

}else if($random==2){

$advert = "The Great Gameloft Give-away";

$site = "http://gameloft.4-your-mobile.co.uk";

}else if($random==3){

$advert = "Click for Adult XXX Photo Galleries!";

$site = "http://c.mobpartner.mobi/?s=17438&a=81";

}

$pirateumsg = getunreadpm(getuid_sid($piratesid));

$piratechs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));

$ptotal = getnumhidonline();

$pservername = $_SERVER['SCRIPT_NAME'];

addonline(getuid_sid($piratesid),"Wapirate Surf!","$_url");

$_form = '

<div style="width:100%; background:#B40204 url(); background-color:#B40204;color:#000000;text-align:center;">';



$_form .= "

<a href=\"$site\">$advert</a><br/>

<form action=\"$pservername\" method=\"post\">

<input type=\"text\" name=\"pirate\" value=\"$_url\" />

<input type=\"submit\" name=\"submit\" value=\"Go\" /><br/>

</form>



<a href=\"/xhtml/inbox.php?action=main\"><img src=\"images/Inbox.png\" alt=\"I\"/> $pirateumsg </a> 

 <a href=\"/xhtml/index.php?action=chat\"><img src=\"images/Chat.png\" alt=\"C\"/> $piratechs[0] </a> 

 <a href=\"/xhtml/index.php?action=online\"><img src=\"images/Buds.gif\" alt=\"B\"/> $ptotal </a><br/>

</div>

";



?>