Beispiel #1
0
<?php

include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_cms.php';
$cid = $_REQUEST['cid'];
$cms = new cms();
$rs_cms = $cms->uniq_cms_list("id", $cid);
if ($_REQUEST['submit']) {
    $table = 'ninerr_cms';
    $dataArray = array("cms_content" => $_REQUEST['cms_content']);
    $fldArray = array("id" => $_REQUEST['id']);
    $cms->dataUpdate($table, $dataArray, $fldArray);
    reDirect('cms.php');
    //header ("Location: cms.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Orders - Admin</title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script>
   var StyleFile = "theme" + document.cookie.charAt(6) + ".css";
   document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
</script>
<!-- TinyMCE -->
<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
Beispiel #2
0
<?php

session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_catagory.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_cms.php';
$cms = new cms();
$rs_cms = $cms->uniq_cms_list("id", "3");
$user = new user();
$rs_user = $user->user_list();
$i = 0;
$data_cms = mysql_fetch_array($rs_cms);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
?>
</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.simplemodal.js"></script>
<script type="text/javascript" src="javascript/init.js"></script>
<script type="text/javascript" src="javascript/init1.js"></script>
<link type='text/css' href='css/stylesheet.css' rel='stylesheet' media='screen' />
<link type='text/css' href='css/basic.css' rel='stylesheet' media='screen' />