</script> <?php $mysql = new mysql(); //$common = new common(); $cms = new cms("cms"); $table = "cms"; //print_r($_GET); //print_r($_POST); if ($_GET['wtdo'] == "add_static_page") { $add = $cms->createpage($_POST['filename'], $_POST['menuname'], $_POST['title'], $_POST['metakeywords'], $_POST['metadescription'], $_POST['FCKeditor1']); echo "Created "; } if ($_GET['wtdo'] == "edit_page") { $add = $cms->updatepage($_GET['id'], $_POST['filename'], $_POST['menuname'], $_POST['title'], $_POST['metakeywords'], $_POST['metadescription'], $_POST['FCKeditor1']); echo "Updated"; } ?> <table align="left" width="100%" style="font-family:Arial, Helvetica, sans-serif; font-weight:bold; color:#FFFFFF; font-size:16px;"> <tr><td colspan="6" align="center" valign="middle"> <table align="center" > <tr> <td><img src="images/listmain.png" /></td> <td style="color:#003399; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:18px;" align="center" valign="middle"> List of Static Pages</td> </tr> </table>