<?php
/**
* status : 1 - show
* 2 - hide
* 3 - approve
* 4 - first review (hold for authorization)
*/
/*
* How to get image in fckeditor
* <a href=\"javascript:getImage('$file');\">$file</a>
*
*/
error_reporting( E_ALL );
require_once( '../global.class.php' );
$tmpl1->template_dir = dirname( __FILE__ ) . '/tmpl/'; // Page template engine
$tmpl2->template_dir = dirname( __FILE__ ) . '/tmpl/'; // Form template engine
$conf->setConfigDir( dirname( __FILE__ ) . '/config/' ); // Config class
require_once( 'class.FormCMS.php' );
#################################################################################
require_once( 'class.cDataCMS.php' );
require_once( 'class.cLogicCMS.php' );
require_once( 'class.cFormRatingActionCMS.php' );
require_once( 'class.cFormReviewActionCMS.php' );
$objects1 = array(
'conf' => &$conf,
'conn' => &$db,
'tmpl1' => &$tmpl1,
'tmpl2' => &$tmpl2,
'form' => &$form
);
$client = &new cLogicCMS( '', $objects1 );
$str = $client->Execute( $_GET );
echo '<style type="text/css" rel="stylesheet">body {font-family: arial, font-size: 11px}</style>';
echo $str;
#################################################################################
/*
include('../libs/built/adodb/adodb-perf.inc.php');
$perf = NewPerfMonitor( $db );
echo $perf->SuspiciousSQL();
echo $perf->ExpensiveSQL();
*/
?>
|