From: Siddhesh P. <sid...@us...> - 2009-11-24 12:21:23
|
Update of /cvsroot/ayttm/ayttm-html/smileys In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13534/smileys Modified Files: index.php smileys.php Log Message: CSS candy for the main menu. Thanks Prashant Shah <eli...@gm...> Index: index.php =================================================================== RCS file: /cvsroot/ayttm/ayttm-html/smileys/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.php 11 Sep 2009 14:36:19 -0000 1.1 +++ index.php 24 Nov 2009 12:21:14 -0000 1.2 @@ -1,8 +1,8 @@ -<? $TITLE="Smiley Themes"; ?> -<? $EXTRA_PATH="."; ?> -<? include("../Header.php"); ?> +<?php $TITLE="Smiley Themes"; + $EXTRA_PATH="."; +include("../Header.php"); ?> <div> <h2>Smiley themes available for ayttm</h2> -<? require("smileys.php");?> +<?php require("smileys.php");?> </div> -<? include("../Footer.php"); ?> +<?php include("../Footer.php"); ?> Index: smileys.php =================================================================== RCS file: /cvsroot/ayttm/ayttm-html/smileys/smileys.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- smileys.php 11 Sep 2009 14:36:19 -0000 1.6 +++ smileys.php 24 Nov 2009 12:21:14 -0000 1.7 @@ -1,4 +1,4 @@ -<?PHP +<?php $smiley = $_GET['smiley']; if($smiley != "") @@ -7,7 +7,7 @@ list_themes(); ?> -<? +<?php function list_themes() { @@ -31,7 +31,7 @@ <tr> <th> </th> <th>Name</th> <th>Description</th> <th>Version</th> <th>Author</th> </tr> -<? +<?php $smileys = get_file_list(".", "dir"); if($smileys) { @@ -52,7 +52,7 @@ } ?> </table> -<? +<?php } function show_theme($smiley) @@ -68,14 +68,14 @@ ?> <table cellspacing="2" cellpadding="2" border="0" bgcolor="#e0e0e0" width="60%" align="center"> <tr> -<? +<?php print_theme($smiley); ?> </tr> </table> <br> <a href="index.php">Theme list</a><br> -<? +<?php } @@ -88,7 +88,7 @@ ?> </tr> <tr> -<? +<?php } print("<td style=\"text-align:center\"><img src=\"$theme_name/$images[$i]\" alt=\"$images[$i]\"></td>\n"); } |