PageRenderTime 47ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 1ms

/promo/index.php

https://bitbucket.org/molusc/sma-website
PHP | 165 lines | 150 code | 15 blank | 0 comment | 6 complexity | 79eb1e16288fa4f40f6157e3953ab34c MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php require_once('../Connections/bryanmadge.php'); ?>
  2. <?php
  3. if (!isset($_GET["club"]))
  4. $_GET["club"] = "cf";
  5. $clubprefix = $_GET["club"];
  6. if (!isset($_GET["orderby"]))
  7. $_GET["orderby"] = "course_date";
  8. $sortorder = $_GET["orderby"];
  9. $colname_ClubInfo = "cf";
  10. if (isset($HTTP_GET_VARS['club'])) {
  11. $colname_ClubInfo = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['club'] : addslashes($HTTP_GET_VARS['club']);
  12. }
  13. mysql_select_db($database_bryanmadge, $bryanmadge);
  14. $query_ClubInfo = sprintf("SELECT trainingclubs.clubid, trainingclubs.clubname, trainingclubs.clubprefix, trainingclubs.standardfees, trainingclubs.clubfees, UNIX_TIMESTAMP(trainingclubs.feesfixeduntilend) AS feesfixeduntilend, trainingclubs.coursetime, trainingclubs.description FROM trainingclubs WHERE clubprefix = '%s'", $colname_ClubInfo);
  15. $ClubInfo = mysql_query($query_ClubInfo, $bryanmadge) or die(mysql_error());
  16. $row_ClubInfo = mysql_fetch_assoc($ClubInfo);
  17. $totalRows_ClubInfo = mysql_num_rows($ClubInfo);
  18. mysql_select_db($database_bryanmadge, $bryanmadge);
  19. $query_TrainingClub = "SELECT schedule.course_id, schedule.course_title_id, catalog.title, UNIX_TIMESTAMP(schedule.course_date) AS course_date, schedule.course_town, schedule.course_venue_id, schedule.course_classification
  20. FROM schedule INNER JOIN catalog ON schedule.course_title_id = catalog.catalog_id
  21. WHERE schedule.course_classification Like '$clubprefix%' ORDER BY $sortorder";
  22. $TrainingClub = mysql_query($query_TrainingClub, $bryanmadge) or die(mysql_error());
  23. $row_TrainingClub = mysql_fetch_assoc($TrainingClub);
  24. $totalRows_TrainingClub = mysql_num_rows($TrainingClub);
  25. ?>
  26. <html><!-- InstanceBegin template="../Templates/general.dwt" codeOutsideHTMLIsLocked="false" -->
  27. <head>
  28. <LINK REL="SHORTCUT ICON" HREF="../favicon.ico">
  29. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  30. <meta name="GENERATOR" content="Dreamweaver MX">
  31. <meta name="keywords" content="CDM Regulations, CESMM, civil engineering, construction management, contract administration, contract procedures, courses, environmental awareness, geotechnical, Health and safety, ICE Conditions of Contract, ICE Professional Review, JCT Form of Contract, Method of Measurement for Highway Works, MMHW, NEC New Engineering and Construction Contract, Project management, report writing, site supervision, Standard Forms of Contract, training, AMPR, CET, CPD, TMPR, Eurocodes">
  32. <!-- #BeginEditable "doctitle" -->
  33. <title>Promotion</title>
  34. <!-- #EndEditable -->
  35. <link rel="stylesheet" href="../bma.css" type="text/css">
  36. <link rel="stylesheet" href="../print.css" type="text/css" media="print" />
  37. <!-- InstanceParam name="OptionalPageTitle" type="boolean" value="true" --><!-- InstanceParam name="OptionalBreadcrumbs" type="boolean" value="true" --><!-- InstanceParam name="Google Analytics Code" type="boolean" value="true" -->
  38. </head>
  39. <body><div class="printhide"><!-- #BeginLibraryItem "/Library/Masthead.lbi" -->
  40. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  41. <tr>
  42. <td width="150" rowspan="2"><a href="../home.html" target="_top">
  43. <!-- <img src="../images/smalogo_sml_party_hat.gif" ALT="Symmons Madge Associates Ltd home" width="124" height="90" border="0">
  44. -->
  45. <img src="../images/smalogo_sml.gif" ALT="Symmons Madge Associates Ltd home" width="124" height="64" border="0"> </a></td>
  46. <td><p class="tagline"><font size="4">Training for a Successful Future</font></p></td>
  47. </tr>
  48. <tr>
  49. <td valign="bottom"><table class="masthead" width="100%" height=25 border="0" cellpadding="0" cellspacing="0">
  50. <tr>
  51. <!-- <td width="5%" bgcolor="#FFFFFF">&nbsp;</td>-->
  52. <td align="left" valign="top"><img src="/images/corner_TL.gif" width="15" height="25"></td>
  53. <td>&nbsp;&nbsp;<a
  54. href="../courses/index.php" target="_top">Courses</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  55. href="../diary/diary.php" target="_top">Course&nbsp;Diary</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  56. href="../training/training-club.php" target="_top">Regional Training</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  57. href="../consultancy/index.html" target="_top">Consultancy</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  58. href="../search/index.php" target="_top">Search</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  59. href="../links.html" target="_top">Links</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  60. href="../company/about.html" target="_top">About us</a> &nbsp;<FONT color=#909090>:</FONT>&nbsp;&nbsp;<a
  61. href="../contact.html" target="_top">Contact</a>&nbsp;&nbsp;</td>
  62. </tr>
  63. </table></td>
  64. </tr>
  65. </table>
  66. <!-- #EndLibraryItem --></div>
  67. <div class="printonly">
  68. <div align="right"><img src="../images/smalogo_sml.gif" width="124" height="64" class="floatright"></div>
  69. </div>
  70. <div id="main">
  71. <p class="breadcrumbs printhide"><!-- #BeginEditable "breadcrumbs" --><a href="../home.html" target="_top">Home</a>&nbsp;&gt;&nbsp;Breadcrumbs<!-- #EndEditable --></p>
  72. <h1 class="bmapagetitle"><!-- #BeginEditable "title" -->Easter Promotion<!-- #EndEditable --></h1>
  73. <!-- #BeginEditable "body" -->
  74. <h2>Book any 2009 course before
  75. Friday 17th April and receive
  76. 10% discount<br>
  77. </h2>
  78. <p><em>The courses below are a small selection from our current 2009 programme</em></p>
  79. <p>(This promotion applies to course fees charged at Standard Rate only)</p>
  80. <h3> Belfast</h3>
  81. <ul>
  82. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=926">Bills of Quantities for Highway Works</a> &ndash; Tuesday 31st March</li>
  83. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=223">Commercial Appreciation</a> &ndash; Tuesday 7th April 2009</li>
  84. </ul>
  85. <h3> Birmingham</h3>
  86. <ul>
  87. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=168">Written Communications &amp; Reports</a> &ndash; Thursday 23rd April</li>
  88. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=628">H,S&amp; W &ndash; ICE Development Objective E2 &ldquo;Site &amp; General Safety</a> &ndash; Thursday 9th July</li>
  89. </ul>
  90. <h3> Bristol</h3>
  91. <ul>
  92. <li> Highway Drainage &ndash; An Overview &ndash; Wednesday 1st April</li>
  93. <li>Design of Concrete Structures to EC2: Theory &amp; Examples &ndash; Tuesday 7th &amp; Wednesday 8th April</li>
  94. </ul>
  95. <h3> Cardiff</h3>
  96. <ul>
  97. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=173">Contract Law &ndash; Types of Contract</a> &ndash; Wednesday 8th April</li>
  98. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=418">Culvert Design</a> &ndash; Wednesday 22nd April</li>
  99. </ul>
  100. <h3> Dublin (Engineers Ireland registered training provider)</h3>
  101. <ul>
  102. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=901">Pavement Design Using the DMRB</a> &ndash; Wednesday 10th June</li>
  103. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=900">Site Investigation (endorsed by the Geological Society)</a> &ndash; Tuesday 7th July</li>
  104. </ul>
  105. <h3> Exeter</h3>
  106. <ul>
  107. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=397">Highway Law &amp; Management Procedures</a> &ndash; Thursday 23rd April</li>
  108. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=902">Assessment &amp; Remediation of Contaminated Land</a> &ndash; Tuesday 12th May</li>
  109. </ul>
  110. <h3> Glasgow</h3>
  111. <ul>
  112. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=900">Site Investigation (endorsed by the Geological Society)</a> &ndash; Thursday 23rd April</li>
  113. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=355">Commercial Management of Projects</a> &ndash; Wednesday 29th April</li>
  114. </ul>
  115. <h3> Slough</h3>
  116. <ul>
  117. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=597">H,S&amp; W &ndash; ICE Development Objective E2 &ldquo;Legislation&rdquo;</a> &ndash; Thursday 23rd April</li>
  118. <li><a href="http://www.symmonsmadge.co.uk/courses/course-details.php?id=342">Concrete Specification to BSEN206 &ndash; 1: 2000 and BS8500: 2006</a> &ndash; Thursday 30th April<br>
  119. </li>
  120. </ul>
  121. <p align="center"><img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/chick.gif" alt="chick" width="44" height="60" /></p>
  122. <p align="center">&nbsp;</p>
  123. <!-- #EndEditable --></div>
  124. <div class="printhide"><!-- #BeginLibraryItem "/Library/Full Footer.lbi" --><hr width="65%">
  125. <p align="center"><!-- #BeginLibraryItem "/Library/Footer.lbi" --><!-- #EndLibraryItem --></p>
  126. <!-- #EndLibraryItem --><!-- #BeginLibraryItem "/Library/Legal footer.lbi" --><div align="center" class="bmabody"><font size="1"><a href="../company/legal.html">Legal
  127. Notice</a><br>
  128. Copyright &copy; Symmons Madge Associates Ltd, All Rights Reserved</font></div>
  129. <!-- #EndLibraryItem --><!-- Start of StatCounter Code -->
  130. <script type="text/javascript" language="javascript">
  131. var sc_project=337750;
  132. var sc_partition=1;
  133. </script>
  134. <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript>
  135. <a href="http://www.statcounter.com/" target="_blank"><img src="http://c2.statcounter.com/counter.php?sc_project=337750&amp;java=0" alt="counter stats" border="0"></a>
  136. </noscript>
  137. <!-- End of StatCounter Code -->
  138. <!-- InstanceBeginEditable name="EditRegion1" --><!-- #BeginLibraryItem "../Library/Google%20Analytics%20Code.lbi" -->
  139. <script type="text/javascript">
  140. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  141. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  142. </script>
  143. <script type="text/javascript">
  144. try {
  145. var pageTracker = _gat._getTracker("UA-7626130-1");
  146. pageTracker._trackPageview();
  147. } catch(err) {}
  148. </script><!-- #EndLibraryItem --><!-- InstanceEndEditable --></div>
  149. </body>
  150. <!-- InstanceEnd --></html>