Location: PHPKode > scripts > GigKalender > calendar/includes/addGig/GigDate.php
<?php
/*
    CREATIVE COMMONS - Attribution-No Derivative Works 3.0 Germany:
    - You may not alter, transform, or build upon this work.
    - Dieses Werk darf nicht bearbeitet oder in anderer Weise verändert werden.
*/
if ( isset($timestamp) AND $timestamp!='' ) $GigDate = $timestamp;
  else $GigDate = mktime();
$GigDateForDatepicker = WochentagsNameVonTimestamp ($GigDate).date(", ".getSetup('SetupBackendDateFormat'), $GigDate);
echo '<script type="text/javascript">
        $(function()
          {
            $("#datepicker").datepicker( "setDate" , new Date('.date('Y', $GigDate).','.date('m', $GigDate).'-1,'.date('d', $GigDate).') );
	         });
      </script>';
if ( $senden && testDoppelteGigs($GigDateDay, $GigDateMonth, $GigDateYear) && !getSetup('SetupAllowDoubleDates'))
  echo '<tr><td></td><td class="ERROR">'.$L_For_this_day_is_a_date_already_entered.'<br />'.$L_If_necessary_Aactivate_double_dates_in_setup.'</td></tr>';

echo '
  <!--
  <tr>
    <td>'.$L_GigDate.':</td>
    <td>
      <input class="FieldGigDateDay" type="text" name="GigDateDay" maxlength="2" value="';echo $GigDateDay; echo '" />
      <input class="FieldGigDateMonth" type="text" name="GigDateMonth" maxlength="2" value="';echo $GigDateMonth; echo '" />
      <input class="FieldGigDateYear" type="text" name="GigDateYear" maxlength="04" value="';echo $GigDateYear; echo '" />
      (dd-mm-yyyy)
    </td>
    <td></td>
  </tr>
  -->
  <tr>
    <td>'.$L_GigDate.':</td>
    <td>
      <input class="FieldGigDateBegin" id="datepicker" type="text" name="GigDateDay" readonly="readonly" value="';echo $GigDateForDatepicker; echo '" />
      <!--<input class="FieldGigDateBeginTimestamp" id="alternate" type="text" name="GigDateMonth" readonly="readonly" value="';echo $GigDate; echo '" />-->
    </td>
    <td></td>
  </tr>
';
?>
Return current item: GigKalender