ruạṛ
<?php /** * Add a testimonial to the database * @version 0.10 * @author Robert Urquhart <programmer@activatedesign.co.nz> * @package WEP-CMS * @since braziers.co.nz */ session_start(); require_once $_SERVER['DOCUMENT_ROOT'].'/admin/scripts-includes/universal.php'; $connID = connect_to_db(); $n = new testimonial(); $message = ''; if(!$n->create()) { $_SESSION['passback']['type_id'] = $n->type_id; $_SESSION['passback']['witness'] = $n->witness; $_SESSION['passback']['testimony'] = $n->testimony; $_SESSION['passback']['position'] = $n->position; getout($message); exit; } //else getout($message,'../edit-testimonial.php?testimonial='.$n->testimonial_id); exit; ?>
cải xoăn