Location: PHPKode > projects > Cadence Guestbook Host > cadence/sources/admin/idx.php

 * Cadence
 * Remotely Hosted Guestbook Script.
 * (c) 2006, Dennis Pedrie
 * www.CadenceBook.com
 * idx.php
 * Cadence Guestbook is licensed under
 * a Creative Commons License.
 * More information is available by visiting
 * http://creativecommons.org/licenses/by/3.0/
 * or the LICENSE file in the Cadence Root Folder

if(!defined('IN_CADENCE')) {
	trigger_error("You may not access this file directly",E_USER_ERROR);

$do = $post->clean_var($_GET['do']);
if($do == "editnote") {
	$notes = $post->clean_var($_POST['notes']);
	$tpl->assign("sysmsg","ACP Notes Updated!");

echo "<h3>Control Panel Home</h3>
<p>Hello. Welcome to your Cadence Guestbook Control Panel. From here you can manage themes, posts, users, and more.
Why not click one of the links to your right to begin?</p>

//Flood Warning
if($gbook->flood < 30) {
	$warning = "Your Flood Control is set to ". $gbook->flood ." seconds. This is lower than the recommended minimum of 30 seconds. You can correct this by clicking below.";

echo "<div id='news'><h3>News</h3>
<span style='font-size:10px;'>Latest Host News will be displayed here</span><br />";
$news = $admin->acpnews();
foreach($news as $news) {
	echo $news;
echo "</div><br />
<div id='notes'><h3>Notes</h3>
<span style='font-size:10px;'>Use the Admin Notes feature to keep track of information you don't want to forget.</span><br />
". $admin->acpnotes() ."</div>";
Return current item: Cadence Guestbook Host