Current Path : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/CP/ |
Windows NT SG2NWVPWEB022 10.0 build 17763 (Windows Server 2016) i586 |
Current File : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/CP/CPContactUs.php |
<?php require_once('CPAuth.php'); ?> <!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/CPMasterPage.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>City Managers' Association Madhya Pradesh - Contact Us</title> <!-- InstanceEndEditable --> <link href="CP.css" rel="stylesheet" type="text/css" /> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> </head> <body bgcolor="#999999"> <div align="center"> <table border="0" cellpadding="0px" cellspacing="0" width="100%"> <tbody> <tr> <td bgcolor="#2D8FC0" style="padding:5px; border:double"" colspan="3"> <div class="BannerStyle"> <div class="BannerStyle">City Managers' Association, Madhya Pradesh</div> </div> </td> </tr> <tr> <td bgcolor="#2D8FC0" width="33%" style="border:double"> <div style="text-align: left;"> <?php echo "Welcome : " . $_SESSION['SESS_FIRST_NAME'] . " " . $_SESSION['SESS_LAST_NAME'];?> </div> </td> <td bgcolor="#2D8FC0" width="33%" style="border:double"> <div style="text-align: center;"> <?php echo "Today : " . date("l, d-M-Y"); ?> </div> </td> <td bgcolor="#2D8FC0" width="33%" style="border:double"> <div style="text-align: right;"> <a href="CPLogout.php">Logout </a> </div> </td> </tr> <tr> <td bgcolor="#999999" height="10px" colspan="3"> </td> </tr> <tr> <td align="center" bgcolor="#2D8FC0" colspan="3" style="border:double"> <table border="0" cellpadding="0" cellspacing="0" style="padding-bottom:3px"> <tr> <td> <a href="CPHome.php">Home </a> | </td> <td> <a href="CPMasterProject.php"> Projects </a> | </td> <td> <a href="CPMasterPublication.php"> Publications </a> | </td> <td> <a href="CPMasterTender.php"> Tenders </a> | </td> <td> <a href="CPMasterRecruitment.php"> Recruitments </a> | </td> <td> <a href="CPMasterNews.php"> News </a> | </td> <td> <a href="CPMasterDownload.php"> Download </a> | </td> <td> <a href="CPMasterWhatsNew.php"> What's New </a> | </td> <td> <a href="CPMasterMembership.php"> Membership </a> | </td> <td> <a href="CPMasterTeamMember.php"> Team </a> | </td> <td> <a href="CPContactUs.php"> Contact Us </a> | </td> <td> <a href="CPMasterPhotoGallery.php"> Gallery</a> | </td> <td> <a href="CPFeedbackView.php"> Feedback</a> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#999999" height="10px" colspan="3"> </td> </tr> <tr> <td align="center" bgcolor="#2D8FC0" colspan="3" style="border:double"> <!-- InstanceBeginEditable name="CPMasterPageEdit" --> <div style="text-align: center;"> <?php if (isset($_GET['mMode'])) { $mMode = $_GET['mMode']; } else { $mMode = ''; } ?> <table width="100%" cellpadding="5px" cellspacing="10px" > <tr> <td class="StyleTableHeader" style="background-color:#FFFFFF;"> Contact Us </td> </tr> <tr> <td valign="top" width="100%" style="background-color:#FFFFFF"> <form id="FrmContactUs" name="FrmContactUs" method="post" action="CPContactUs-Exec.php<?php echo "?mMode=$mMode"; ?> " enctype="multipart/form-data"> <?php require_once('CPConfig.php'); $link = mysql_connect($hostname, $username, $password) ; $db= mysql_select_db($dbname); $qry="SELECT * FROM mastercontactus WHERE ContactUsID=1"; $result=mysql_query($qry); if($result) { if(mysql_num_rows($result) == 1) { $member = mysql_fetch_assoc($result); } } ?> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align:center;"> <tbody> <tr> <td class="StyleTableBodyRight"> Details : </td> <td class="StyleTableBodyLeft"> <?php echo "<textarea name='TxtCUName' id='TxtTMCUName' cols='99' rows='20' tabindex='300' "; if ($mMode != "Modify") echo " disabled = 'true'"; echo ">"; if (isset($_GET['mError'])) { echo $_SESSION['mCUName'] . "</ textarea>"; echo "<font color='#FF0000'> * " . $_GET['mError'] . "</font>"; } else { if ($mMode == "Modify") { echo $member['ContactUsName'] . "</textarea>"; } else { echo $member['ContactUsName'] . "</textarea>"; } } ?> </td> </tr> <tr> <td class="StyleTableBodyRight"> Remarks : </td> <td class="StyleTableBodyLeft"> <?php echo "<input type='text' name='TxtCURemarks' id='TxtCURemarks' size='130' tabindex='308' "; if (isset($_GET['mError'])) { echo "Value='" . $_SESSION['mCURemarks'] . "'/>"; } else { if ($mMode == "Modify") { echo "Value='" . $member['ContactUsRemarks'] . "'/>"; } else { echo "Value='" . $member['ContactUsRemarks'] . "' disabled = 'true'/>"; } } ?> </td> </tr> <tr> <td> </td> <td align="left"> <INPUT type="submit" value="Add" name="BtnAdd" tabindex="400" disabled = 'true' class="button-CU"/> <INPUT type="submit" value="Modify" name="BtnModify" tabindex="401" class="button-CU" <?php if ($mMode == "Modify") { echo "disabled = 'true' "; } ?> /> <INPUT type="submit" value="Save" name="BtnSave" tabindex="402" class="button-CU" <?php if ($mMode == "Modify") { } else { echo "disabled = 'true' "; } ?> /> <INPUT type="submit" value="Cancel" name="BtnCancel" tabindex="403" class="button-CU" <?php if ($mMode == "Modify") { } else { echo "disabled = 'true' "; } ?> /> <INPUT type="submit" value="Delete" name="BtnDelete" tabindex="404" class="button-CU" disabled = 'true' /> <INPUT type="submit" value="Clear" name="BtnClear" tabindex="405" class="button-CU" <?php if ($mMode == "Modify") { } else { echo "disabled = 'true' "; } ?> /> </td> </tr> </tbody> </table> </form> </td> </tr> </table> </div> <!-- InstanceEndEditable --></td> </tr> <tr> <td bgcolor="#999999" height="10px" colspan="3"> </td> </tr> <tr> <td align="center" bgcolor="#2D8FC0" colspan="3" style="border:double"> <span>©2009 City Managers' Association, Madhya Pradesh</span> </td> </tr> </tbody></table> </div> </body> <!-- InstanceEnd --></html>