<?php

session_start();

include "../config.php";
include "../header.php";
include "../style.php";
if( isset($_SESSION["alogin"]) ) {
    	?><table>
      	<tr>
        <td width="15%" valign=top><br>
        <? include("adminnavigation.php"); ?>
        </td>
        <td valign="top" align="center"><br><br> <?
    	echo "<font size=2 face='$fonttype' color='$fontcolour'><p><b><center>";
        echo "<center><H2>Add ads to a specific user</H2></center>";
        ?>
         <p>
          <form method="POST" action="addsolos.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank Solo ad to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
	  <p>
          <form method="POST" action="addcashsolos.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank Cash Solo ad to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
         <p>
          <form method="POST" action="addhpsolos.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank High Priority Solo to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
	  <p>
          <form method="POST" action="addhpcsolos.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank High Priority Cash Solo to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
         <p>
          <form method="POST" action="addsnfsolo.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank SNF Solo to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
		  <tr><td width=110 align=right># of weeks:</td><td><input type="text" name="week" size=2></td></tr>
		  <tr><td width=110 align=right>Options:</td><td>

			<input type="radio" name="type" value="Mon/Wed/Fri"> Monday/Wednesday/Friday<br>
			<input type="radio" name="type" value="Tues/Thurs/Sat"> Tuesday/Thursday/Saturday<br>
			<input type="radio" name="type" value="once"> Once: <select name="day"><option>Sunday</option><option>Monday</option><option>Tuesday</option><option>Wednesday</option><option>Thursday</option><option>Friday</option><option>Saturday</option></select><br>


		  </td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
         <p>
          <form method="POST" action="addsnfcsolo.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank SNF Cash Solo to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
		  <tr><td width=110 align=right># of weeks:</td><td><input type="text" name="week" size=2></td></tr>
		  <tr><td width=110 align=right>Options:</td><td>

			<input type="radio" name="type" value="Mon/Wed/Fri"> Monday/Wednesday/Friday<br>
			<input type="radio" name="type" value="Tues/Thurs/Sat"> Tuesday/Thursday/Saturday<br>
			<input type="radio" name="type" value="once"> Once: <select name="day"><option>Sunday</option><option>Monday</option><option>Tuesday</option><option>Wednesday</option><option>Thursday</option><option>Friday</option><option>Saturday</option></select><br>


		  </td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>


		<p>
		<form method="POST" action="addhheadlinead.php">
		<table border=1><tr><td>
		<table border=0 cellpadding=3 cellspacing=0>
		<tr><td colspan=2 align=center><b>Add a HOT Headline Ad to a users account</b></td></tr>
		<tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
		<tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
		<tr><td width=110 align=right>Max Clicks:</td><td><input type="text" name="max"></td></tr>
		<tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
		</table>
		</td></tr></table>
		</form>
		</p>

		<p>
		<form method="POST" action="addhheaderad.php">
		<table border=1><tr><td>
		<table border=0 cellpadding=3 cellspacing=0>
		<tr><td colspan=2 align=center><b>Add a HOT Header Ad to a users account</b></td></tr>
		<tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
		<tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
		<tr><td width=110 align=right>Max Clicks:</td><td><input type="text" name="max"></td></tr>
		<tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
		</table>
		</td></tr></table>
		</form>
		</p>

          <p>
          <form method="POST" action="addbanners.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add blank banners to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max impressions:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
<p>

          <form method="POST" action="addbuttons.php">

          <table border=1><tr><td>

          <table border=0 cellpadding=3 cellspacing=0>

          <tr><td colspan=2 align=center><b>Add blank button ads to a users account</b></td></tr>

		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>

          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>

          <tr><td width=110 align=right>Max impressions:</td><td><input type="text" name="max"></td></tr>

          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>

          </table>

          </td></tr></table>

          </form>

          </p>
 <p>
          <form method="POST" action="addhotlinks.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add blank hot link to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
		  <tr><td width=110 align=right>Max Displays:</td><td><input type="text" name="max"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form></p>
		  <p>
          <form method="POST" action="addheadlines.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a headlinead(s) to a users account</b></td></tr>
		   <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
          <p>
          <form method="POST" action="addtlinks.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add blank traffic links to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
	<p>
          <form method="POST" action="addptclinks.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add blank ptc links to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>


		  <p>
          <form method="POST" action="addtopnav.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank top navigation link to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
		  <p>
          <form method="POST" action="addbotnav.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank bottom navigation link to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>

		  <p>
          <form method="POST" action="addlogins.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank login ad to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
		  <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
	  <p>
          <form method="POST" action="addheaderads.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add Solo header ads to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
	  <p>
          <form method="POST" action="addfooterads.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add Solo footer ads to a users account</b></td></tr>
		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td width=110 align=right>Max views:</td><td><input type="text" name="max"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
<b>Add blank admin ads</b>
<p>

          <form method="POST" action="addadminads.php">

          <table border=1><tr><td>

          <table border=0 cellpadding=3 cellspacing=0>

          <tr><td colspan=2 align=center><b>Add a blank solo ad to admins account</b></td></tr>

		  <tr><td width=110 align=right>Quantity:</td><td><input type="text" name="quantity" value="10"></td></tr>

          <tr><td width=110 align=right></td><td><input type="hidden" name="userid"></td></tr>

          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>

          </table>

          </td></tr></table>

          </form>

          </p>



<p>
          <form method="POST" action="addbonus.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank Daily Bonus to a users account</b></td></tr>
		  <tr><td width=110 align=right>Date:</td><td><input type="text" name="rented" value="<? echo date('Y-m-d'); ?>"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>


<!--##############################################FULL LOGIN ADS START#############################################################-->
		  <p>
          <form method="POST" action="addfulllogin.php">
          <table border=1><tr><td>
          <table border=0 cellpadding=3 cellspacing=0>
          <tr><td colspan=2 align=center><b>Add a blank full page login ad to a users account</b></td></tr>
		  <tr><td width=110 align=right>Date:</td><td><input type="text" name="rented" value="<? echo date('Y-m-d'); ?>"></td></tr>
          <tr><td width=110 align=right>Userid:</td><td><input type="text" name="userid"></td></tr>
          <tr><td>&nbsp;</td><td><input type="submit" value="Add"></td></tr>
          </table>
          </td></tr></table>
          </form>
          </p>
<!--##############################################FULL LOGIN ADS END#############################################################-->



        <?
        echo "</td></tr></table>";
    }
else
	echo "Unauthorised Access!";

include "../footer.php";

?>