Location: PHPKode > projects > Gatito Prediction League > gatito_pred_league/admin/timemenu.php
<?
// set default values for date field to today if none entered.
if (!$day) $day=date(d);
if (!$month)$month=date(m);
if (!$hours) $hours="15";
if (!$minutes) $minutes="00";
if (!$year) $year=date(Y);
$day_menu="<option value = '$day' selected>$day</option>
	<option value='01'>1</option>
      <option value='02'>2</option>
      <option value='03'>3</option>
      <option value='04'>4</option>
      <option value='05'>5</option>
      <option value='06'>6</option>
      <option value='07'>7</option>
      <option value='08'>8</option>
      <option value='09'>9</option>
      <option value='10'>10</option>
      <option value='11'>11</option>
      <option value='12'>12</option>
      <option value='13'>13</option>
      <option value='14'>14</option>
      <option value='15'>15</option>
      <option value='16'>16</option>
      <option value='17'>17</option>
      <option value='18'>18</option>
      <option value='19'>19</option>
      <option value='20'>20</option>
      <option value='21'>21</option>
      <option value='22'>22</option>
      <option value='23'>23</option>
      <option value='24'>24</option>
      <option value='25'>25</option>
      <option value='26'>26</option>
      <option value='27'>27</option>
      <option value='28'>28</option>
      <option value='29'>29</option>
      <option value='30'>30</option>
      <option value='31'>31</option>";
$month_menu="<option value='$month' selcted>$month</option>
<option value='01'>1</option>
      <option value='02'>2</option>
      <option value='03'>3</option>
      <option value='04'>4</option>
      <option value='05'>5</option>
      <option value='06'>6</option>
      <option value='07'>7</option>
      <option value='08'>8</option>
      <option value='09'>9</option>
      <option value='10'>10</option>
      <option value='11'>11</option>
      <option value='12'>12</option>";
$year_menu="
      
      <option value='$year'selected>$year</option>
      <option value='2008'>2008</option>
      <option value='2009'>2009</option>";
$hours_menu="<option value='$hours'>$hours</option>
<option value='00'>00</option>
	<option value='01'>1</option>
    <option value='02'>2</option>
	<option value='03'>3</option>
      <option value='04'>4</option>
      <option value='05'>5</option>
      <option value='06'>6</option>
      <option value='07'>7</option>
      <option value='08'>8</option>
      <option value='09'>9</option>
      <option value='10'>10</option>
      <option value='11'>11</option>
      <option value='12'>12</option>
      <option value='13'>13</option>
      <option value='14'>14</option>
      <option value='15'>15</option>
      <option value='16'>16</option>
      <option value='17'>17</option>
      <option value='18'>18</option>
      <option value='19'>19</option>
      <option value='20'>20</option>
      <option value='21'>21</option>
      <option value='22'>22</option>
      <option value='23'>23</option>";

$minutes_menu="<option value='$minutes'>$minutes</option>
<option value='00'>00</option>
<option value='15'>15</option>
<option value='30'>30</option>
<option value='45'>45</option>
 ";     
?>
Return current item: Gatito Prediction League