showHeader(); echo $compose02; $page->showFooter(); exit; } else { include_once('inc/FCKeditor/fckeditor.php'); $page->showHeader(); include_once('inc/adodb/adodb.inc.php'); include_once('config.php'); $ADODB_FETCH_MODE = ADODB_FETCH_ASSOC; $conn = &ADONewConnection('mysql'); $conn->Connect($dbhost,$dbuser,$dbpass,$dbdatabase); $sqlstmt = "select imageid, cardname, imagepath from ".$tablePrefix."cardinfo where imageid='$imageid'"; $recordSet = &$conn->Execute($sqlstmt); if (!$recordSet) print $conn->ErrorMsg(); else { $imageid = $recordSet->fields['imageid']; $cardname = $recordSet->fields['cardname']; $imagepath = $recordSet->fields['imagepath']; echo $compose02; ?>



0) { if (isset($_SESSION['music'])) $musicValue = $_SESSION['music']; else $musicValue = 'none'; ?>
 
 
   [ ]
BasePath = 'inc/FCKeditor/'; $editor->Width = '500'; $editor->Height = '200'; $editor->ToolbarSet = 'Basic'; $editor->Value = $cardContent; $editor->Create(); ?>
>
Close(); $conn->Close(); $page->showFooter(); } function getMusic(&$conn) { global $tablePrefix; $getMusicSQL = "SELECT * from ".$tablePrefix."music order by mname"; $recordSet = $conn->Execute($getMusicSQL); return $recordSet->getArray(); } ?>