コード例 #1
0
ファイル: index.php プロジェクト: BackupTheBerlios/bitts-svn
                  <tr>
                    <?php 
    echo tep_draw_form('period_back', tep_href_link(FILENAME_DEFAULT)) . tep_create_parameters(array('period' => tep_next_period($_POST['period'], -1)), array('mPath'), 'hidden_field');
    ?>
                      <td align="left" class="infoBoxHeading">
                        <?php 
    echo tep_image_submit('arrow_left.gif', TEXT_TIMEREGISTRATION_BACK, '', DIR_WS_IMAGES);
    ?>
                      </td>
                    </form>
                    <td align="center" class="infoBoxHeading"><?php 
    echo TEXT_TIMEREGISTRATION_PERIOD . $_POST['period'];
    ?>
</td>
                    <?php 
    echo tep_draw_form('period_forward', tep_href_link(FILENAME_DEFAULT)) . tep_create_parameters(array('period' => tep_next_period($_POST['period'], 1)), array('mPath'), 'hidden_field');
    ?>
                      <td align="right" class="infoBoxHeading">
                        <?php 
    echo tep_image_submit('arrow_right.gif', TEXT_TIMEREGISTRATION_FORWARD, '', DIR_WS_IMAGES);
    ?>
                      </td>
                    </form>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td align="center">
                <table border="0px" width="20%" cellspacing="0" cellpadding="3" class="infoBoxContents">
                  <tr>
コード例 #2
0
                <tr>
                  <?php 
echo tep_draw_form('period_back', tep_href_link(FILENAME_TIMEREGISTRATION_CALENDAR)) . tep_create_parameters(array('period' => tep_next_period($_SESSION['timesheet']->period, -1)), array('mPath'), 'hidden_field');
?>
                    <td align="left" class="infoBoxHeading">
                      <?php 
echo tep_image_submit('arrow_left.gif', TEXT_TIMEREGISTRATION_BACK, '', DIR_WS_IMAGES);
?>
                    </td>
                  </form>
                  <td align="center" class="infoBoxHeading"><?php 
echo TEXT_TIMEREGISTRATION_PERIOD . $_SESSION['timesheet']->period;
?>
</td>
                  <?php 
echo tep_draw_form('period_forward', tep_href_link(FILENAME_TIMEREGISTRATION_CALENDAR)) . tep_create_parameters(array('period' => tep_next_period($_SESSION['timesheet']->period, 1)), array('mPath'), 'hidden_field');
?>
                    <td align="right" class="infoBoxHeading">
                      <?php 
echo tep_image_submit('arrow_right.gif', TEXT_TIMEREGISTRATION_FORWARD, '', DIR_WS_IMAGES);
?>
                    </td>
                  </form>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td align="center">
              <table border="0px" width="20%" cellspacing="0" cellpadding="3" class="infoBoxContents">
                <tr>