View file Ad4fun.com/serve/cpanel.php

File size: 3.83Kb
<?php
session_start();
if(!$_SESSION['pid'] || !$_SESSION['username'])
{ header('Location: ./login.php'); exit(); }
$pid=$_SESSION['pid'];
include'config.php';
$sqlp="select * from pid where pid='$pid'";
$resultp=$mysqli->query($sqlp);
function pb(){
  global $resultp;
  while($row=$resultp->fetch_array()){
$total['imp']=$row['imp'];
$total['imp_h']=$row['imp_h'];
$total['click']=$row['click'];
$total['click_h']=$row['click_h'];
$total['point']=$row['point'];
$total['ref']=$row['ref'];
  }
  return $total;
}
$pb=pb();
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="pragma" content="no-cache" />
<meta name="keywords" content="mobile advertising, mobile ads, mobile advertising company, advertising campaign, free traffic, free advertising">
 <meta name="description" content=", provides you to advertise your wapsite for free.. Site owners can advertise their sites at affordable costs. And that cost is nothing. You just share your users with other site owners who in return provide you their visitors. .">
<link rel="stylesheet" href="style.css" type="text/css" media="handheld,screen"/>
<title>Ad4fun.com - Free Mobile Advertisments | Site hit exchange | Free </title>
</head><body>
<div class=main>
<div class='head'>Free Mobile Advertisments</div>
<div class='random'>hello,
<font color=blue><b> <?php echo $_SESSION['username']; ?> </b></font>                     |               <a href='logout.php'>Logout</a></div><div class='points'>Ad Balance : <font color=red><b><?php echo $pb['point'] ?></b></font>  points<br /> <div class="agreebar">You have <?php echo $pb['point'] ?> points & <font color="red">Don't Forget To Put Ad Code In Your Site !!!</font></div> <br/> <div class='dashtitle'><b>General</b></div>
<div class=dashlink><img src='banner/stats.png' align='middle'> <a href='stat.php'>Ad Statistics</a></div>
<div class=dashlink><img src='banner/set.png' align='middle' height='25' width='25'> <a href='account_setting.php'>Account setting</a></div>
<div class=dashlink><img src='banner/help.png' align='middle'> <a href='help.php'>Help</a></div>
<div class='dashtitle'><b>Tools</b></div>
<div class='dashlink'><img src="banner/transaction.jpg" align="middle" /> <a href="transfer.php">Transfer Credits</a></div>
<div class='dashlink'><img src="banner/deposit.jpg" align="middle" /> <a href="vault.php">Credit Vault </a> (SAFE Deposit)</div>
<div class='dashtitle'><b>Advertiser</b></div>
<div class=dashlink><img src='banner/textads.png' align='middle'> <a href='text.php'>Create Text Ad</a></div>
<div class=dashlink><img src='banner/bannerads.png' align='middle'> <a href='banner.php'>Create Banner Ad</a></div>
<div class=dashlink><img src='banner/createtext.png' align='middle'> <a href='managesite.php'>Created Ads</a></div><div class='dashtitle'>
<b>Publisher</b></div>
<div class=dashlink><img src='banner/zip.png' align='middle' height='25' width='25' > <a href='codes.zip'>Download ZIP</a> for ALL adcode</div>
<div class=dashlink><img src='banner/php.png' align='middle'> <a href='getphpadcode.php'>Get PHP Ad Code</a></div>
<div class=dashlink><img src='banner/java.png' height="25" width="25" align='middle'> <a href='html_java.php'>Get HTML + JAVASCRIPT Ad Code</a></div>
<div class=dashlink><img src='banner/html.png' align='middle' height='25' width='25' > <a href='gethtmladcode.php'>HTML Code</a></div>
<div class='dashtitle'><b>Earn 120 AdBalance On Each Referral</b></div>
<div class=dashlink><a href='referer.php'>Referral URL</a> <b>[ <?php echo $pb['ref'];?> ]</b></div>
</div>
<?php include'footer.php' ?>
</div><!--div end for main class-->
</body></html>