Display Date in template_display_media Display Date in template_display_media
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Display Date in template_display_media

Started by Kugelblitz, February 14, 2006, 01:38:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kugelblitz

Hey

how do I display the Date in the template_display_media ?
http://groups.kisd.de/sydney_06/swaptv/displayimage.php?album=1&pos=0

I want it on the top left above the Movie Clip.

// HTML template for intermediate image display - HS: valign
$template_display_media = <<<EOT
               <td colspan="4" align="left" valign="top" class="display_media" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                       <table cellspacing="2" cellpadding="0" class="imageborder">
<!-- BEGIN title -->
                       <tr>
                        <td class="title">
                            {TITLE}
                           </td>
                          <td class="date">
                          {DATE} DD.MM.YYYY
                           </td>

                       </tr>
<!-- END title -->
<!-- BEGIN HR -->
                       <tr>
                        <td colspan="2" class="unterstrichen" >&nbsp;</td>
                       </tr>
<!-- END HR -->

<!-- BEGIN Media -->
                       <tr>
                        <td align="left" colspan="2">
                            {IMAGE}
                               {ADMIN_MENU}
                           </td>
                       </tr>
<!-- END Media -->                        
<!-- BEGIN img_desc -->
                       
<!-- BEGIN caption -->
               <tr>
                       <td class="tableb" colspan="2">
        {CAPTION}
                           </td>
                      </tr>
<!-- END caption -->
                  </table>
<!-- END img_desc -->
            </td>
EOT;