Location: PHPKode > projects > Pointter PHP CMS > pointtercms_package/pointtercms_package/pointtercms/admin/editbody.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';

?>

<!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: Design 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">

<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">Banner Image Upload</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;
You can upload your banner image file with this option. Your banner image will be displayed on top of every page in the header part. Jpg, gif and png image files are accepted with a maximum 1 mb filesize.
</td></tr></table>


<form enctype="multipart/form-data" action="functions/editbodysubmit.php" method="post">

<table style="display:none;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;" id="x"><tr style="height:40px;"><td width="700">
<u>Upload Banner Image:</u><br/><br/>
<input type="hidden" name="MAX_FILE_SIZE" value="1000000"/>
<input class="tag" type="file" name="banner"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/>
</td></tr></table>
</form>

<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">Body Background Color</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;
You can change the body background color of your website with this option. Please enter the hex color code that you want to use.
</td></tr></table>


<form enctype="multipart/form-data" action="functions/editbodysubmit.php" method="post">

<table style="display:none;background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;" id="y"><tr style="height:40px;"><td width="700">
<u>Enter Hex Color Code #:</u><br/><br/>
<input class="bigtag" type="text" name="colour" size="50"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/>
</td></tr></table>
</form>

<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">Body Background Image</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;
You can change the body background image of your website with this option. The body background of your website pages will be tiled with the uploaded image. Jpg, gif and png image files are accepted with a maximum 1 mb filesize.
</td></tr></table>


<form enctype="multipart/form-data" action="functions/editbodysubmit.php" method="post">

<table style="display:none;background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;" id="z"><tr style="height:40px;"><td width="600">
<u>Upload Background Image:</u><br/><br/>
<input type="hidden" name="MAX_FILE_SIZE" value="1000000"/>
<input class="tag" type="file" name="uploadedfile"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/>
</td></tr></table>
</form>

<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">Template 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;
You can change the design of your website with Template Settings. Several colours are available for 3 template objects of the website which give 512 different looks to your website. 
</td></tr></table>

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

<form action="functions/template.php" method="post"> 
<table style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="height:40px;"><td width="700">
<u>Box Header Color:</u><br/><br/>
<img src="templates/black/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="black"/>
<img src="templates/blue/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="blue"/>
<img src="templates/brown/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="brown"/>
<img src="templates/green/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="green"/>
<img src="templates/grey/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="grey"/>
<img src="templates/original/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="original"/>
<img src="templates/red/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="red"/>
<img src="templates/yellow/pixel_1.png" height="25" width="50" align="middle" alt="pixel 1"/>
<input type="radio" name="template" value="yellow"/>
<input type="hidden" name="code" value="1"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/></td></tr></table>
</form>


<form action="functions/template.php" method="post"> 
<table style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="height:40px;"><td width="700">
<u>Box Background Color:</u><br/><br/>
<img src="templates/black/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="black"/>
<img src="templates/blue/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="blue"/>
<img src="templates/brown/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="brown"/>
<img src="templates/green/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="green"/>
<img src="templates/grey/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="grey"/>
<img src="templates/original/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="original"/>
<img src="templates/red/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="red"/>
<img src="templates/yellow/pixel_3.png" height="25" width="50" align="middle" alt="pixel 3"/>
<input type="radio" name="template" value="yellow"/>
<input type="hidden" name="code" value="3"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/></td></tr></table>
</form>


<form action="functions/template.php" method="post"> 
<table style="background-color:#a0d0ff;font:bold 12px Helvetica;border-width:1px;border-width:1px;border-bottom-style:dotted;border-right-style:solid;border-left-style:solid;border-color:#3399FF;"><tr style="height:40px;"><td width="700">
<u>Button Color:</u><br/><br/>
<img src="templates/black/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="black"/>
<img src="templates/blue/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="blue"/>
<img src="templates/brown/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="brown"/>
<img src="templates/green/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="green"/>
<img src="templates/grey/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="grey"/>
<img src="templates/original/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="original"/>
<img src="templates/red/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="red"/>
<img src="templates/yellow/pixel_2.png" height="25" width="50" align="middle" alt="pixel 2"/>
<input type="radio" name="template" value="yellow"/>
<input type="hidden" name="code" value="2"/>
</td></tr><tr style="height:40px;"><td align="right" width="700" style="border-width:1px;border-top-style:dotted;border-color:#3399FF;">
<input class="button" type="submit" value="Save"/></td></tr></table>
</form>

</div>

</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