Location: PHPKode > projects > Pointter PHP CMS > pointtercms_package/pointtercms_package/pointtercms/admin/settings.php
<?php 

/***************************************************************************
 * Product Name			: Pointter PHP Content Management System
 * Version 			: V 1.2
 * Release Date			: 01/02/11
 * Copyright			: (C) 2011 PangramSoft / Murat Cevik
 * Program URL			: http://www.pointter.com
 * Company URL			: http://www.pangramsoft.com
 * Email Address                : hide@address.com
 
 ***************************************************************************/
 

/****************************************************************************

Pointter PHP Content Management System is licensed under Creative Commons Attribution Non-commercial No Derivatives 3.0 Unported (by-nc-nd) License.
To view a copy of this license, (a) visit http://creativecommons.org/licenses/by-nc-nd/3.0/ or (b) send a letter to Creative Commons, 171 2nd Street, 
Suite 300, San Francisco, California, 94105, USA.” 

You must not remove/modify/alter the copyright informations both visible and invisible forms in the source code and you must not remove/modify/alter 
the copyright informations in the footer part of the script including the Pointter image (png format file), hard link and title tag.

Please contact the copyright holder PangramSoft / Murat Cevik for a commercial license to remove the copyright information in the footer part of the script.


*****************************************************************************/

if (!isset($_COOKIE[auser]) OR !isset($_COOKIE[apass]))
{
header("location:index.php");
}
else
include 'cookiecheck.php';

include '../configset/conn.php';

$set=mysql_query("SELECT * FROM Settings WHERE SettingsID=1");
$row=mysql_fetch_array($set);

if ($row[Boxonoff]==1)
   $cat="On";
    else
     $cat="Off";

if ($row[Boxposition]==0)
   $catpos="Left";
    else
     $catpos="Right";

if ($row[Boxcount]==1)
   $catcount="On";
    else
     $catcount="Off";

$catname=$row[Boxname];

if ($row[Todayonoff]==1)
   $today="On";
    else
     $today="Off";

if ($row[Todayposition]==0)
   $todaypos="Left";
    else
     $todaypos="Right";

$todayname=$row[Todayname];

if ($row[Mostonoff]==1)
   $most="On";
    else
     $most="Off";

if ($row[Mostposition]==0)
   $mostpos="Left";
    else
     $mostpos="Right";

$mostname=$row[Mostname];

if ($row[Newonoff]==1)
   $new="On";
    else
     $new="Off";

if ($row[Newposition]==0)
   $newpos="Left";
    else
     $newpos="Right";

$newname=$row[Newname];

if ($row[Memberonoff]==1)
   $member="On";
    else
     $member="Off";

if ($row[Memberposition]==0)
   $memberpos="Left";
    else
     $memberpos="Right";

$membername=$row[Membername];

if ($row[Searchonoff]==1)
   $search="On";
    else
     $search="Off";

$searchname=$row[Searchname];

$mail=$row[EmailAddress];

mysql_close($connect);

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--This website has been created by Pointter PHP Content Management System and copyrighted by PangramSoft / Murat Cevik. 
    Please visit http://www.pointter.com for a FREE DOWNLOAD.-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">

function toggle (id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }

</script>
<link type="text/css" rel="stylesheet" href="style.css"/>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"/>
<title>Pointter PHP Content Management System Admin Panel: General Settings</title>
</head>

<body>

<table class="main" style="width:950px;" align="center" cellspacing="0" cellpadding="10">
<tr style="background-color:#ffffff;height:80px;">
<td colspan="2" style="border-width:1px;border-bottom-style:dotted;border-color:#272727;"><img src="pointter.png" alt="Pointter Logo"/></td></tr>


<tr><td style="border-width:1px;border-right-style:dotted;border-color:#272727;height:700px;width:180px;" valign="top">
<font style="font:bold 12px Arial;">CREATE MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/box_add.png" align="left" alt="box icon"/>&ensp;<a class="menu" href="box.php" title="Create A Box To Wrap Static Pages"> Create Box</a></li>
<li class="main_menu"><img src="siteicons/category_add.png" align="left" alt="category add icon"/>&ensp;<a class="menu" href="category.php" title="Create A Main Or Sub Category"> Create Category</a></li>
<li class="main_menu"><img src="siteicons/product_add.png" align="left" alt="product add icon"/>&ensp;<a class="menu" href="product.php" title="Create A Product Page For Categories"> Create Product Page</a></li>
<li class="main_menu"><img src="siteicons/page_add.png" align="left" alt="page add icon"/>&ensp;<a class="menu" href="staticpage.php" title="Create A Static Page"> Create Static Page</a></li>
</ul> 

<br/><br/>
<font style="font:bold 12px Arial;">EDIT MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/index_edit.png" align="left" alt="index edit icon"/>&ensp;<a class="menu" href="indexeditor.php" title="Edit Index Page Of The Website"> Edit Index Page</a></li>
<li class="main_menu"><img src="siteicons/box_edit.png" align="left" alt="box edit icon"/>&ensp;<a class="menu" href="editbox.php" title="Edit All The Boxes Of The Website"> Edit Box</a></li>
<li class="main_menu"><img src="siteicons/category_edit.png" align="left" alt="category edit icon"/>&ensp;<a class="menu" href="editcategory.php" title="Edit All The Categories Of The Website"> Edit Category</a></li>
<li class="main_menu"><img src="siteicons/product_edit.png" align="left" alt="product edit icon"/>&ensp;<a class="menu" href="editproduct.php" title="Edit All The Product Pages Of The Website"> Edit Product Page</a></li>
<li class="main_menu"><img src="siteicons/page_edit.png" align="left" alt="page edit icon"/>&ensp;<a class="menu" href="editstaticpage.php" title="Edit All The Static Pages Of The Website"> Edit Static Page</a></li>
</ul>

<br/><br/>
<font style="font:bold 12px Arial;">DELETE MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/box_delete.png" align="left" alt="box delete icon"/>&ensp;<a class="menu" href="deletebox.php" title="Delete The Boxes Of The Website"> Delete Box</a></li>
<li class="main_menu"><img src="siteicons/category_delete.png" align="left" alt="category delete icon"/>&ensp;<a class="menu" href="deletecategory.php" title="Delete The Categories Of The Website"> Delete Category</a></li>
<li class="main_menu"><img src="siteicons/product_delete.png" align="left" alt="product delete icon"/>&ensp;<a class="menu" href="deleteproduct.php" title="Delete The Product Pages Of The Website"> Delete Product Page</a></li>
<li class="main_menu"><img src="siteicons/page_delete.png" align="left" alt="page delete icon"/>&ensp;<a class="menu" href="deletestaticpage.php" title="Delete The Static Pages Of The Website"> Delete Static Page</a></li>
</ul>

<br/><br/>
<font style="font:bold 12px Arial;">SETTINGS MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/general_settings.png" align="left" alt="general settings icon"/>&ensp;<a class="menu" href="settings.php" title="General Settings Of The Website"> General Settings</a></li>
<li class="main_menu"><img src="siteicons/design_settings.png" align="left" alt="design settings icon"/>&ensp;<a class="menu" href="editbody.php" title="Design Settings Of The Website"> Design Settings</a></li>
</ul> 

<br/><br/>
<font style="font:bold 12px Arial;">SEO MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/metatags.png" align="left" alt="metatags icon"/>&ensp;<a class="menu" href="metatags.php" title="Metatags For All The Pages Of The Website"> Metatags</a></li>
<li class="main_menu"><img src="siteicons/footer.png" align="left" alt="footer icon"/>&ensp;<a class="menu" href="footeredit.php" title="Footer Part Editor"> Footer Editor</a></li>
<li class="main_menu"><img src="siteicons/header.png" align="left" alt="header icon"/>&ensp;<a class="menu" href="headeredit.php" title="Header Part Editor"> Header Editor</a></li>
</ul> 

<br/><br/>
<font style="font:bold 12px Arial;">SYSTEM MENU</font>
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/statistics.png" align="left" alt="statistics icon"/>&ensp;<a class="menu" href="statistics.php" title="Page Statistics Of The Website"> Statistics</a></li>
<li class="main_menu"><img src="siteicons/members.png" align="left" alt="members icon"/>&ensp;<a class="menu" href="members.php" title="Registered Members Of The Website"> Members</a></li>
<li class="main_menu"><img src="siteicons/massmail.png" align="left" alt="massmail icon"/>&ensp;<a class="menu" href="massmail.php" title="Send Mass Mail And Newsletter"> Mass Mail</a></li>
</ul> 

</td><td valign="top">
<br/>

<div align="right">
<ul class="main_menu">
<li class="main_menu"><img src="siteicons/home.png" align="left" alt="home icon"/>&ensp;<a class="menu" href="menu.php" title="Home"> Home</a></li>
<li class="main_menu"><img src="siteicons/logout.png" align="left" alt="log out icon"/>&ensp;<a class="menu" href="index.php" title="Log Out"> Log Out</a></li>
</ul>
</div>

<br/><br/>

<div class="box">

<form action="functions/editsettings.php" method="post">

<table cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;width:700px;"><tr style="background-color:#3399FF;"><td>
<font size="3" color="#ffffff">System Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('main')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
System Settings are a list of Content Management System Options that give the user freedom to change many aspects of the website. Built-in modules can be turned on or off and their positions in the page layout 
and their default names can be changed.
</td></tr></table>


<div style="display:none;" id="main">

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Category Box Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('x')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Category Box Module Settings are for the Category Box Module if you are intending to use categorized Products/Items at your website.
</td></tr></table>

 <div id="x" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Show Category Box:</u>
 <input type="radio" name="onoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="onoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $cat; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Category Box Position:</u>
 <input type="radio" name="pos" value="0"/>Left
 &ensp;&ensp;&ensp;
 <input type="radio" name="pos" value="1"/>Right
 <br/><br/>
 <i style="color:#404040;">(Current Setting: <?php echo $catpos; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Show Category Count:</u>
 <input type="radio" name="count" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="count" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $catcount; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Category Box Name:</u>&ensp;
 <input class="bigtag" type="text" name="boxname" size="50"/>
 <br/><br/>
 <i style="color:#404040;">(Current Name: <?php echo $catname; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Today Box Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('y')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Today Box Module Settings are for the Today Box Module which displays the current time, date and total page views in every page.
</td></tr></table>

 <div id="y" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Show Today Box:</u>
 <input type="radio" name="tonoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="tonoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $today; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Today Box Position:</u>
 <input type="radio" name="tpos" value="0"/>Left
 &ensp;&ensp;&ensp;
 <input type="radio" name="tpos" value="1"/>Right
 <br/><br/>
 <i style="color:#404040;">(Current Setting: <?php echo $todaypos; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Today Box Name:</u>&ensp;
 <input class="bigtag" type="text" name="tname" size="50"/>
 <br/><br/>
 <i style="color:#ffffff;">(Current Name: <?php echo $todayname; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Most Viewed Box Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('z')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Most Viewed Box Module Settings are for the Most Viewed Box Module which displays the most viewed 10 Products/Items at your website in every page.
</td></tr></table>

 <div id="z" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Show Most Viewed Box:</u>
 <input type="radio" name="monoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="monoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $most; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Most Viewed Box Position:</u>
 <input type="radio" name="mpos" value="0"/>Left
 &ensp;&ensp;&ensp;
 <input type="radio" name="mpos" value="1"/>Right
 <br/><br/>
 <i style="color:#404040;">(Current Setting: <?php echo $mostpos; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Most Viewed Box Name:</u>&ensp;
 <input class="bigtag" type="text" name="mname" size="50"/>
 <br/><br/>
 <i style="color:#ffffff;">(Current Name: <?php echo $mostname; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Newly Added Box Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('w')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Newly Added Box Module Settings are for the Newly Added Box Module which displays the most recently listed 10 Products/Items at your website in every page. 
</td></tr></table>

 <div id="w" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Show Newly Added Box:</u>
 <input type="radio" name="nonoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="nonoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $new; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Newly Added Box Position:</u>
 <input type="radio" name="npos" value="0"/>Left
 &ensp;&ensp;&ensp;
 <input type="radio" name="npos" value="1"/>Right
 <br/><br/>
 <i style="color:#404040;">(Current Setting: <?php echo $newpos; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Newly Added Box Name:</u>&ensp;
 <input class="bigtag" type="text" name="nname" size="50"/>
 <br/><br/>
 <i style="color:#ffffff;">(Current Name: <?php echo $newname; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Member Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('a')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Member Module Settings are for the Member Module if you are intending to accept member accounts at your website. Users can create accounts at your website, subscribe to your website's newsletter and edit their member details.
</td></tr></table>

 <div id="a" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Activate Member Module:</u>
 <input type="radio" name="memonoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="memonoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $member; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Member Module Position:</u>
 <input type="radio" name="mempos" value="0"/>Left
 &ensp;&ensp;&ensp;
 <input type="radio" name="mempos" value="1"/>Right
 <br/><br/>
 <i style="color:#404040;">(Current Setting: <?php echo $memberpos; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Member Module Name:</u>&ensp;
 <input class="bigtag" type="text" name="memname" size="50"/>
 <br/><br/>
 <i style="color:#ffffff;">(Current Name: <?php echo $membername; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>


 </div>

<table width="650" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#606060;"><td>
<font size="3" color="#ffffff">Search Module Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('b')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Search Module Settings are for the Search Module if you are intending to let your users make semantic search for your Products/Items at your website. Category Box Module has to be enabled first before activating Search Module. 
</td></tr></table>

 <div id="b" style="display:none;">

 <table width="650" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Activate Search Module:</u>
 <input type="radio" name="searchonoff" value="1"/>On
 &ensp;&ensp;&ensp;
 <input type="radio" name="searchonoff" value="0"/>Off
 <br/><br/>
 <i style="color:#ffffff;">(Current Setting: <?php echo $search; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 <table width="650" style="background-color:#dedede;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Change Search Module Name:</u>&ensp;
 <input class="bigtag" type="text" name="searchname" size="50"/>
 <br/><br/>
 <i style="color:#404040;">(Current Name: <?php echo $searchname; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>


</div><br/><br/>

<table width="700" cellpadding="5" cellspacing="0" style="border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="background-color:#3399FF;"><td>
<font size="3" color="#ffffff">Website Settings</font><img src="siteicons/eject.png" align="right" onclick="toggle('sys')" title="Open / Close Option" alt="eject button"/>
</td></tr><tr style="background-color:#ffffff;height:50px;"><td>
<img src="siteicons/information.png" align="left" alt="information icon"/>&ensp;
Website Settings are the initial settings that you should set first before creating pages at your website.
</td></tr></table>

 <div id="sys" style="display:none;">

 <table width="700" style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr><td>
 <u>Website Email Address:</u>&ensp;
 <input class="bigtag" type="text" name="mail" size="50"/>
 <br/><br/>
 <i style="color:#ffffff;">(Current Email Address: <?php echo $mail; ?>)</i>
 </td><td align="right">
 <input class="button" type="submit" value="Save"/>
 </td></tr></table>

 </div>

</form>

</div>

</td></tr></table>

<table style="color:#272727;font-family:'Helvetica';font-size:8pt;border-width:1px;border-style:solid;border-top-style:none;border-color:#000000;width:950px;height:30px;" align="center" cellspacing="0" cellpadding="5"><tr><td align="center">
Pointter is a trademark of <a href="http://www.pangramsoft.com" title="PangramSoft">PangramSoft.</a> Copyright © 2011 PangramSoft
</td></tr></table>
</body>
</html>
Return current item: Pointter PHP CMS