/[gnuheter]/gnuheter/themes/Default/theme.php
ViewVC logotype

Diff of /gnuheter/themes/Default/theme.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by aron, Wed Dec 18 10:25:34 2002 UTC revision 1.6 by aron, Wed Dec 18 11:48:42 2002 UTC
# Line 212  function themesimplebox($width,$content, Line 212  function themesimplebox($width,$content,
212          </table>";          </table>";
213  }  }
214    
215  function themesidebox($title, $content, $sort="StdSidruta") { ?>  function themesidebox($title, $content, $sort="StdSidruta")
216  <!-- box -->  {
217  <table width="150" border="0" cellpadding="0" cellspacing="0">          switch($sort)
218          <tr valign="top" bgcolor="#660000">          {
219                  <td bgcolor="#dddddd"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>                  case "StdSidruta": $width=150; $align="left"; break;
220                  <td><img src="themes/Default/cl.png" width="7" height="10" alt=""></td>                  default: $width=150; $align="left"; break;
221                  <td><font size="1" color="#ffffff"><b><?php echo"$title"; ?></b></font></td>          }
222                  <td align="right"><img src="themes/Default/cr.png" width="7" height="10" alt=""></td>          ?>
223                  <td bgcolor="#dddddd" align="right"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>                  <!-- box -->
224          </tr>                  <table width="<?php echo $width; ?>" border="0" cellpadding="0" cellspacing="0">
225  </table>                          <tr valign="top" bgcolor="#660000">
226  <table width="150" border="0" cellpadding="0" cellspacing="0">                                  <td bgcolor="#dddddd"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>
227          <tr bgcolor="#660000"><td colspan="3"><img src="themes/Default/pix.png" width="1" height="1" alt=""></td></tr>                                  <td><img src="themes/Default/cl.png" width="7" height="10" alt=""></td>
228          <tr bgcolor="#ffffff">                                  <td align="<?php echo $align; ?>"><font size="1" color="#ffffff"><b><?php echo"$title"; ?></b></font></td>
229                  <td background="themes/Default/sl.png"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>                                  <td align="right"><img src="themes/Default/cr.png" width="7" height="10" alt=""></td>
230                  <td width="100%">                                  <td bgcolor="#dddddd" align="right"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>
231                          <table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td class="box"><?= $content; ?></td></tr></table>                          </tr>
232                  </td>                  </table>
233                  <td background="themes/Default/sr.png" align="right"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>                  <table width="<?php echo $width; ?>" border="0" cellpadding="0" cellspacing="0">
234          </tr>                          <tr bgcolor="#660000"><td colspan="3"><img src="themes/Default/pix.png" width="1" height="1" alt=""></td></tr>
235          <tr bgcolor="#660000"><td colspan="3"><img src="themes/Default/pix.png" width="1" height="1" alt=""></td></tr>                          <tr bgcolor="#ffffff">
236  </table>                                  <td background="themes/Default/sl.png"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>
237  <!-- end box -->                                  <td width="100%">
238  <br /><br />                                          <table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td class="box"><?= $content; ?></td></tr></table>
239  <?                                  </td>
240                                    <td background="themes/Default/sr.png" align="right"><img src="themes/Default/pix.png" width="3" height="3" alt=""></td>
241                            </tr>
242                            <tr bgcolor="#660000"><td colspan="3"><img src="themes/Default/pix.png" width="1" height="1" alt=""></td></tr>
243                    </table>
244                    <!-- end box -->
245                    <br /><br />
246            <?
247  }  }
248    
249  ?>  
250    ?>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26