/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

  1. <?php require_once('../../../Connections/CMS.php'); ?>
  2. <?php require_once('../../includefiles/initDelegates.php'); ?>
  3. <?php
  4. if (!function_exists("GetSQLValueString")) {
  5. function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  6. {
  7. $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  8. $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  9. switch ($theType) {
  10. case "text":
  11. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  12. break;
  13. case "long":
  14. case "int":
  15. $theValue = ($theValue != "") ? intval($theValue) : "NULL";
  16. break;
  17. case "double":
  18. $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
  19. break;
  20. case "date":
  21. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  22. break;
  23. case "defined":
  24. $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
  25. break;
  26. }
  27. return $theValue;
  28. }
  29. }
  30. mysql_select_db($database_CMS, $CMS);
  31. $query_rsCMS = "SELECT * FROM sys_configuration WHERE sitename = 'Seaho Conference Management System'";
  32. $rsCMS = mysql_query($query_rsCMS, $CMS) or die(mysql_error());
  33. $row_rsCMS = mysql_fetch_assoc($rsCMS);
  34. $totalRows_rsCMS = mysql_num_rows($rsCMS);
  35. ?>
  36. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  37. <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/second.dwt.php" codeOutsideHTMLIsLocked="false" -->
  38. <head>
  39. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  40. <!-- InstanceBeginEditable name="doctitle" -->
  41. <title>About CMS</title>
  42. <!-- InstanceEndEditable -->
  43. <link href="../../../stylesheets/mainsheet.css" rel="stylesheet" type="text/css" />
  44. <!-- InstanceBeginEditable name="head" -->
  45. <link href="../../styles/cmsMain.css" rel="stylesheet" type="text/css" />
  46. <style type="text/css">
  47. <!--
  48. .style4 {color: #000066; font-weight: bold; }
  49. -->
  50. </style>
  51. <!-- InstanceEndEditable -->
  52. </head>
  53. <body>
  54. <!-- DO NOT MOVE! The following AllWebMenus code must always be placed right AFTER the BODY tag-->
  55. <!-- ******** BEGIN ALLWEBMENUS CODE FOR mainnav ******** -->
  56. <span id='xawmMenuPathImg-mainnav' style='position:absolute;top:-50px;left:0px'><img name='awmMenuPathImg-mainnav' id='awmMenuPathImg-mainnav' src='../../../menu/awmmenupath.gif' alt=''></span>
  57. <script type='text/javascript'>var MenuLinkedBy='AllWebMenus [4]', awmBN='626'; awmAltUrl='';</script>
  58. <script charset='UTF-8' src='../../../menu/mainnav.js' language='JavaScript1.2' type='text/javascript'></script>
  59. <script type='text/javascript'>awmBuildMenu();</script>
  60. <!-- ******** END ALLWEBMENUS CODE FOR mainnav ******** -->
  61. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="textheader">
  62. <?php require_once('../../../includefiles/header.inc.php'); ?>
  63. <tr>
  64. <td colspan="2" bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="pageBanner" -->
  65. <?php require_once('../../includefiles/header.php'); ?>
  66. <!-- InstanceEndEditable --></td>
  67. </tr>
  68. <tr>
  69. <td colspan="2" class="texttop">&nbsp;</td>
  70. </tr>
  71. <tr>
  72. <td width="182" valign="top" id="contentleftmain"><!-- InstanceBeginEditable name="leftNav" -->
  73. <?php require_once('../../includefiles/leftNavDelegates.php'); ?>
  74. <!-- InstanceEndEditable --><img src="../../../images/dropshadowlogo.jpg" alt="Seaho Logo" /></td>
  75. <td width="582" valign="top" id="contentmain"><!-- InstanceBeginEditable name="mainContent" -->
  76. <h3><strong>About CMS</strong></h3>
  77. <table width="100%" border="0" cellspacing="0" cellpadding="4">
  78. <tr>
  79. <td width="26%"><span class="style4">Site Name:</span></td>
  80. <td width="74%"><?php echo $row_rsCMS['sitename']; ?></td>
  81. </tr>
  82. <tr>
  83. <td><span class="style4">Support Email:</span></td>
  84. <td><?php echo $row_rsCMS['supportemail']; ?></td>
  85. </tr>
  86. <tr>
  87. <td><span class="style4">System Version:</span></td>
  88. <td><?php echo $row_rsCMS['sysVersion']; ?></td>
  89. </tr>
  90. <tr>
  91. <td><span class="style4">Creation Date:</span></td>
  92. <td><?php echo $row_rsCMS['sysCreation']; ?></td>
  93. </tr>
  94. <tr>
  95. <td><span class="style4">System Operator:</span></td>
  96. <td><?php echo $row_rsCMS['sysOperator']; ?></td>
  97. </tr>
  98. <tr>
  99. <td><span class="style4">System Liason:</span></td>
  100. <td><?php echo $row_rsCMS['sysLiaison']; ?></td>
  101. </tr>
  102. <tr>
  103. <td><span class="style4">Contract Renewal:</span></td>
  104. <td><?php echo $row_rsCMS['sysContract']; ?></td>
  105. </tr>
  106. <tr>
  107. <td>&nbsp;</td>
  108. <td>&nbsp;</td>
  109. </tr>
  110. <tr>
  111. <td><span class="style4">System Description:</span></td>
  112. <td>&nbsp;</td>
  113. </tr>
  114. <tr>
  115. <td colspan="2"><?php echo $row_rsCMS['sysDescription']; ?></td>
  116. </tr>
  117. </table>
  118. <p>&nbsp;</p>
  119. <!-- InstanceEndEditable --></td>
  120. </tr>
  121. <?php require_once('../../../includefiles/footer.inc.php'); ?>
  122. </table>
  123. </body>
  124. <!-- InstanceEnd --></html>
  125. <?php
  126. mysql_free_result($rsCMS);
  127. ?>