Exemple #1
0
</div>
<?php 
require "common/preLoadWidgets.php";
?>
<div style="text-align: center; clear:both; margin-top: 20px;">
<a href="/index.php">home</a> | 
<a href="/contactus.php">contact us </a>
<?php 
$cms = new cms("cms");
$pages = $cms->getStaticPage();
if (is_array($pages)) {
    foreach ($pages as $page) {
        echo " | <a href='/cms.php?filename=" . $page['filename'] . "'>" . $page['menuname'] . "</a>";
    }
}
?>
</div>
<br />
</body>
</html>
	
	<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">
    &nbsp;&nbsp;List of Static Pages</td>
    </tr>
    </table>
	</td></tr>

<tr><td  colspan="6"><table width="100%"><tr><td>
<br />

<?php 
$result = $cms->getStaticPage();
?>
   <a href='add_cms_page.php'>ADD Page</a>
<form name="listpage" action="delete_static_page.php?action=delete" method="post">
<input type="hidden" id="selectcheck"  name="selectcheck" />
<input type="hidden" id="type" name="type" value="" />
<table width="100%"><tr><td align="right" width="100%">
<b><font color="red" size="2"> *Delete : this will delete there all data from the website </font></b><input type="submit" value="Block"  onclick="return blockpage(); " /><input type="submit" value="Approve"  onclick="return approvepage(); " /><input type="submit" value="Delete"  onclick="return deletepage(); " /></td></tr></table>
<table width="100%" style="font-family:Arial, Helvetica, sans-serif; font-size:13px;"> 	
	<tr bgcolor="#3262bd">
		<td class="grey" align="center">Menu Name</td>
		<td class="grey" align="center">Title</td>
		<td class="grey" align="center">File Name</td>
		<td class="grey" align="center">Create Time</td>
		<td class="grey" align="center">Status</td>
		<td class="grey" align="center">Edit</td>