/registration/delegate/aboutcm/index.php
https://github.com/damanlovett/SEAHO · PHP · 132 lines · 127 code · 5 blank · 0 comment · 7 complexity · 8cc258e3facd068ecbf7e2f427a234e1 MD5 · raw file
- <?php require_once('../../../Connections/CMS.php'); ?>
- <?php require_once('../../includefiles/initDelegates.php'); ?>
- <?php
- if (!function_exists("GetSQLValueString")) {
- function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
- {
- $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
- $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
- switch ($theType) {
- case "text":
- $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
- break;
- case "long":
- case "int":
- $theValue = ($theValue != "") ? intval($theValue) : "NULL";
- break;
- case "double":
- $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
- break;
- case "date":
- $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
- break;
- case "defined":
- $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
- break;
- }
- return $theValue;
- }
- }
- mysql_select_db($database_CMS, $CMS);
- $query_rsCMS = "SELECT * FROM sys_configuration WHERE sitename = 'Seaho Conference Management System'";
- $rsCMS = mysql_query($query_rsCMS, $CMS) or die(mysql_error());
- $row_rsCMS = mysql_fetch_assoc($rsCMS);
- $totalRows_rsCMS = mysql_num_rows($rsCMS);
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/second.dwt.php" codeOutsideHTMLIsLocked="false" -->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <!-- InstanceBeginEditable name="doctitle" -->
- <title>About CMS</title>
- <!-- InstanceEndEditable -->
- <link href="../../../stylesheets/mainsheet.css" rel="stylesheet" type="text/css" />
- <!-- InstanceBeginEditable name="head" -->
- <link href="../../styles/cmsMain.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- <!--
- .style4 {color: #000066; font-weight: bold; }
- -->
- </style>
- <!-- InstanceEndEditable -->
- </head>
- <body>
- <!-- DO NOT MOVE! The following AllWebMenus code must always be placed right AFTER the BODY tag-->
- <!-- ******** BEGIN ALLWEBMENUS CODE FOR mainnav ******** -->
- <span id='xawmMenuPathImg-mainnav' style='position:absolute;top:-50px;left:0px'><img name='awmMenuPathImg-mainnav' id='awmMenuPathImg-mainnav' src='../../../menu/awmmenupath.gif' alt=''></span>
- <script type='text/javascript'>var MenuLinkedBy='AllWebMenus [4]', awmBN='626'; awmAltUrl='';</script>
- <script charset='UTF-8' src='../../../menu/mainnav.js' language='JavaScript1.2' type='text/javascript'></script>
- <script type='text/javascript'>awmBuildMenu();</script>
- <!-- ******** END ALLWEBMENUS CODE FOR mainnav ******** -->
- <table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="textheader">
- <?php require_once('../../../includefiles/header.inc.php'); ?>
- <tr>
- <td colspan="2" bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="pageBanner" -->
- <?php require_once('../../includefiles/header.php'); ?>
- <!-- InstanceEndEditable --></td>
- </tr>
- <tr>
- <td colspan="2" class="texttop"> </td>
- </tr>
- <tr>
- <td width="182" valign="top" id="contentleftmain"><!-- InstanceBeginEditable name="leftNav" -->
- <?php require_once('../../includefiles/leftNavDelegates.php'); ?>
- <!-- InstanceEndEditable --><img src="../../../images/dropshadowlogo.jpg" alt="Seaho Logo" /></td>
- <td width="582" valign="top" id="contentmain"><!-- InstanceBeginEditable name="mainContent" -->
- <h3><strong>About CMS</strong></h3>
- <table width="100%" border="0" cellspacing="0" cellpadding="4">
- <tr>
- <td width="26%"><span class="style4">Site Name:</span></td>
- <td width="74%"><?php echo $row_rsCMS['sitename']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">Support Email:</span></td>
- <td><?php echo $row_rsCMS['supportemail']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">System Version:</span></td>
- <td><?php echo $row_rsCMS['sysVersion']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">Creation Date:</span></td>
- <td><?php echo $row_rsCMS['sysCreation']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">System Operator:</span></td>
- <td><?php echo $row_rsCMS['sysOperator']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">System Liason:</span></td>
- <td><?php echo $row_rsCMS['sysLiaison']; ?></td>
- </tr>
- <tr>
- <td><span class="style4">Contract Renewal:</span></td>
- <td><?php echo $row_rsCMS['sysContract']; ?></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style4">System Description:</span></td>
- <td> </td>
- </tr>
- <tr>
- <td colspan="2"><?php echo $row_rsCMS['sysDescription']; ?></td>
- </tr>
- </table>
- <p> </p>
- <!-- InstanceEndEditable --></td>
- </tr>
- <?php require_once('../../../includefiles/footer.inc.php'); ?>
- </table>
- </body>
- <!-- InstanceEnd --></html>
- <?php
- mysql_free_result($rsCMS);
- ?>