0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
advancedguestbook
/
2.4.3-6
/
standard
/
htdocs
/
admin
/
[
Home
]
File: panel_template.php
<html> <head> <title>Guestbook - Templates</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> <!-- .text_size1 { font-family: <?php echo $this->VARS["font_face"]; ?>; font-size: <?php echo $this->VARS["tb_font_1"]; ?>} .text_size2 { font-family: <?php echo $this->VARS["font_face"]; ?>; font-size: <?php echo $this->VARS["tb_font_2"]; ?>} .font { font-family: <?php echo $this->VARS["font_face"]; ?>; } .textfield { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; width: 550px; height: 500px} --> </style> </head> <body bgcolor="#006699" link="#FFFFFF" vlink="#FFFFFF"><br> <center> <font size="2" face="Verdana, Arial" color="#FFFFFF"><b>G U E S T B O O K T E M P L A T E S</b></font><br><br> </center> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><a href="<?php echo $this->SELF; ?>?action=show&tbl=priv&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Private Messages</font></a> | <a href="<?php echo $this->SELF; ?>?action=show&tbl=gb&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Easy Admin</font></a> | <a href="<?php echo $this->SELF; ?>?action=settings&panel=general&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">General Settings</font></a> | <a href="<?php echo $this->SELF; ?>?action=settings&panel=style&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Style</font></a> | <a href="<?php echo $this->SELF; ?>?action=template&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Templates</font></a> | <a href="<?php echo $this->SELF; ?>?action=smilies&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Smilies</font></a> | <a href="<?php echo $this->SELF; ?>?action=settings&panel=pwd&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Password</font></a> | <a href="<?php echo $this->SELF; ?>?action=logout&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">Logout</font></a></b></font><br> <hr> <b><font size="1" face="Verdana, Arial" color="#FFFFFF">To check your environmental variables, <a href="<?php echo $this->SELF; ?>?action=info&session=<?php echo $this->session; ?>&uid=<?php echo $this->uid; ?>"><font color="#FFFFFF">click here.</font></a></font></b> <form action="<?php echo $this->SELF; ?>" name="FormMain" method="post"> <table border=0 width=100% bgcolor="#000000"> <tr bgcolor="#000000"> <td colspan=2 align=center height="25"><b><font size="2" face="Verdana, Arial" color="#FFFF00">Templates</font></b></td> </tr> <tr bgcolor="#FCF0C0"> <td colspan=2><font size="1" face="Verdana, Arial" color="#DD0000"> <b>Give write permissions to the webserver on the template files!</b></font></td> </tr> <tr bgcolor="#f7f7f7"> <td valign="top"> <b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Guestbook Templates</font></b><br> <br> <table border="0" cellspacing="0" cellpadding="1"> <?php for (reset($GB_TPL);$key=key($GB_TPL); next($GB_TPL)) { echo " <tr> <td width=\"15\">-</td> <td><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"><a href=\"$this->SELF?action=template&tpl_name=$GB_TPL[$key]&session=$this->session&uid=$this->uid\"><font color=\"#000066\"> $GB_TPL[$key]</font></a></font></td> </tr>\n"; } ?> </table> <br> </td> <td valign=top align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#009900"> </font> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#009900"><b> <?php echo $tpl_name; ?> </b> </font></td> </tr> <tr> <td> <textarea name="gb_template" cols="60" rows="30" class="textfield" wrap="VIRTUAL"><?php echo htmlspecialchars($gb_template); ?></textarea> </td> </tr> </table> <br> </td> </tr> </table> <br> <center> <input type="submit" value="Submit Settings"> <input type="reset" value="Reset"> <input type="hidden" name="uid" value="<?php echo $this->uid; ?>"> <input type="hidden" name="session" value="<?php echo $this->session; ?>"> <input type="hidden" name="action" value="template"> <input type="hidden" name="tpl_name" value="<?php echo $tpl_name; ?>"> <input type="hidden" name="save" value="update"> </center> </form>