FSecurity.Org • Hack Forum • Warez Forum • Hack Forumu • İnstagram çalma • Hacker forum •  Warez Forumu • Hack sitesi • Warez Scriptler

KucukHacker0088 Shell

Current Path : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/CP/

Windows NT SG2NWVPWEB022 10.0 build 17763 (Windows Server 2016) i586
Upload File :
Current File : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/CP/CPMasterTender.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 - Tenders</title>
<!-- InstanceEndEditable -->
<link href="CP.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
-->
</style>
<!-- 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;">
						&nbsp;<?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&nbsp;</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&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterProject.php">&nbsp;&nbsp;Projects&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterPublication.php">&nbsp;&nbsp;Publications&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterTender.php">&nbsp;&nbsp;Tenders&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterRecruitment.php">&nbsp;&nbsp;Recruitments&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterNews.php">&nbsp;&nbsp;News&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterDownload.php">&nbsp;&nbsp;Download&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterWhatsNew.php">&nbsp;&nbsp;What's New&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterMembership.php">&nbsp;&nbsp;Membership&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterTeamMember.php">&nbsp;&nbsp;Team&nbsp;</a> |							</td>
								<td>
								<a href="CPContactUs.php">&nbsp;&nbsp;Contact Us&nbsp;</a> |							</td>
							<td>
								<a href="CPMasterPhotoGallery.php">&nbsp;&nbsp;Gallery</a> |							</td>
							<td>
								<a href="CPFeedbackView.php">&nbsp;&nbsp;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;">
					<table width="100%" cellpadding="5px" cellspacing="10px" >
						<tr>
							<td colspan="2" class="StyleTableHeader">
								Tenders	
							</td>
						</tr>
						
						<tr>
							<td valign="top"width="25%" style="background-color:#FFFFFF">
								<?php
									require_once('CPConfig.php');
							 $link = mysql_connect($hostname, $username, $password) ;
$db= mysql_select_db($dbname);
									
									$ZeroRecord = 'No';
									
									$page_name="CPMasterTender.php"; 
									@$column_name='PublishedDate Desc';
									
									if (empty($_GET['start']))
										{ 
										$start = 0;
										} 
									else
										{ 
										$start = $_GET['start'];
										}
									
									if (isset($_GET['TenderID']))
										{
										$TenderID = $_GET['TenderID'];
										}
									else
										{
										$TenderID = '-1';
										}
									
									if (isset($_GET['mMode']))
										{
										$mMode = $_GET['mMode'];
										}
									else
										{
										$mMode = '';
										}
										
									$eu = ($start - 0); 
									$limit = 10;
									$this1 = $eu + $limit; 
									$back = $eu - $limit; 
									$next = $eu + $limit; 
									
									$query2=" SELECT * FROM mastertender ";
									$result2=mysql_query($query2);
									echo mysql_error();
									$nume=mysql_num_rows($result2);
									
									$bgcolor="#ffffff";
									echo "<TABLE width=99% cellpadding=0 cellspacing=0 style='border:double'>";
									
									$query=" SELECT * FROM mastertender ";
									
									if(isset($column_name) and strlen($column_name)>0){
									$query = $query . " order by $column_name";
									}
									$query = $query. " limit $eu, $limit ";
									$result=mysql_query($query);
									
									if(mysql_num_rows($result) == 0)
										{
										if ($eu == 0)
											{
											$ZeroRecord = 'Yes';
											}
										else
											$eu = $eu - $limit;
											$query="SELECT * FROM mastertender order by $column_name limit $eu, $limit";
											$result=mysql_query($query);
										}
										
									echo mysql_error();
									
									while($noticia = mysql_fetch_array($result))
										{
										if($bgcolor=='#f1f1f1')
											{
											$bgcolor='#ffffff';
											}
										else
											{
											$bgcolor='#f1f1f1';
											}
										
										if ($TenderID=='-1')
											{
											echo "<tr><td bgcolor=$bgcolor class='StyleSelectedCell'>";
											}
										else if ($TenderID==$noticia['TenderID'])
											{
											echo "<tr><td bgcolor=$bgcolor class='StyleSelectedCell'>";
											}
										else
											{
											echo "<td valign='top' bgcolor=$bgcolor>";
											}
											
										echo "<a href='../CP/CPMasterTender.php?start=$eu&TenderID=$noticia[TenderID]'>$noticia[TenderName]<br />$noticia[TenderDescription]</a></td></tr>";
										if ($TenderID=='-1') 
											{
											$TenderID = $noticia['TenderID'];
											}
										}
									echo "</table>";
									
									echo "<table align = 'center' width='99%' style='background-color:#333333'><tr><td  align='left' width='20%'>";
									
									if($back >=0) { 
									print "<a href='$page_name?start=$back' class='aPage'>PREV</a>"; 
									} 
									
									echo "</td><td align=center width='58%'>";
									$i=0;
									$l=1;
									for($i=0;$i < $nume;$i=$i+$limit){
									if($i <> $eu){
									echo " <a href='$page_name?start=$i' class='aPage'>$l</a> ";
									}
									else { echo "<font class='FontPageSelected'>$l</font>";}
									$l=$l+1;
									}
									
									echo "</td><td  align='right' width='20%'>";
									
									if($this1 < $nume) { 
									print "<a href='$page_name?start=$next' class='aPage'>NEXT</a>";} 
									echo "</td></tr></table>";
	
								?>
							</td>
							<td valign="top" width="75%" style="background-color:#FFFFFF">
								<form id="FrmTender" name="FrmTender" method="post" action="CPMasterTender-Exec.php<?php echo "?start=$eu&TenderID=$TenderID&mMode=$mMode"; ?> " enctype="multipart/form-data">
									<?php
										$qry="SELECT * FROM mastertender WHERE TenderID='$TenderID'";
										$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">
												RFP/NIT/EOI # :																
											</td>
										  	<td class="StyleTableBodyLeft">
												
												<?php 
													echo "<input type='text' name='TxtTenderName' id='TxtTenderName' size='86' tabindex='300' ";
													if (isset($_GET['mError']))
														{
														echo "Value='" . $_SESSION['mTenderName'] . "' />";
														echo "<font color='#FF0000'> * " . $_GET['mError'] . "</font>";
														}
													else
														{
														if ($mMode == "Add") 
															{
															echo "Value=''/>";
															}
														else if ($mMode == "Modify")
															{
															echo "Value='" . $member['TenderName'] . "' />"; 
															}
														else
															{
															if ($ZeroRecord == 'Yes')
																{
																echo "Value='' disabled = 'true'/>"; 
																}
															else
																{
																echo "Value='" . $member['TenderName'] . "' disabled='true' />"; 
																}
															}
														}
												?>
											</td>
										</tr>
										
										<tr>
											<td class="StyleTableBodyRight">
												Description : 
											</td>
										  	<td class="StyleTableBodyLeft">
												<?php 
													echo "<textarea name='TxtTenderDescription' id='TxtTenderDescription' cols='66' rows='15' tabindex='301' ";
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo "disabled='true'"; 
														}
													echo ">";
													
													if (isset($_GET['mError']))
														{
														echo $_SESSION['mTenderDescription'] . "</textarea>";
														}
													else
														{
														if ($mMode == "Add") 
															{
															echo "</textarea>";
															}
														else if ($mMode == "Modify")
															{
															echo $member['TenderDescription'] . "</textarea>"; 
															}
														else
															{
															if ($ZeroRecord == 'Yes')
																{
																echo "</textarea>"; 
																}
															else
																{
																echo $member['TenderDescription'] . "</textarea>"; 
																}
															}
														}
												?>
											</td>
										</tr>
										
										<tr>
											<td class="StyleTableBodyRight">
												Published Date :											
											</td>
											<td class="StyleTableBodyLeft">
												<select name="CmbPublishedDay" tabindex='302'<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mPublishedDay = "";
													if (isset($_GET['mError']))
														{
														$mPublishedDay = $_SESSION['mPublishedDay'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mPublishedDay = $member['PublishedDay'];
															}
														}
													for($value=1;$value<=31;$value++) 
														{ 
														if($mPublishedDay == $value) 
															{
															echo("<option value=".$value." selected>".$value."</option>"); 
															}
														else 
															{
															echo("<option value=".$value.">".$value."</option>");
															}
														} 
												?> 
												</select> 
												<select name="CmbPublishedMonth" tabindex='303'
												<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mPublishedMonth = "";
													if (isset($_GET['mError']))
														{
														$mPublishedMonth = $_SESSION['mPublishedMonth'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mPublishedMonth = $member['PublishedMonth'];
															}
														}
													for($value=1;$value<=12;$value++) 
														{ 
														if($mPublishedMonth == date("M", mktime(0, 0, 0, $value, 1, 2000))) 
															{ 
															echo("<option value=" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . " selected>" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . "</option>"); 
															} 
														else 
															{ 
															echo("<option value=" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . ">" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . "</option>"); 
															} 
														} 
												?> 
												</select> 
												<select name="CmbPublishedYear" tabindex='304' 
												<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mPublishedYear = "";
													if (isset($_GET['mError']))
														{
														$mPublishedYear = $_SESSION['mPublishedYear'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mPublishedYear = $member['PublishedYear'];
															}
														}
													for($value=2000;$value<=2020;$value++) 
														{ 
														if($mPublishedYear == $value) 
															{ 
															echo("<option value=".$value." selected>".$value."</option>"); 
															} 
														else 
															{ 
															echo("<option value=".$value.">".$value."</option>"); 
															} 
														} 
												?> 
												</select>
											</td>
										</tr>
										
										<tr>
											<td class="StyleTableBodyRight">
												Submission Date :											
											</td>
											<td class="StyleTableBodyLeft">
												<select name="CmbSubmissionDay" tabindex='305'<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mSubmissionDay = "";
													if (isset($_GET['mError']))
														{
														$mSubmissionDay = $_SESSION['mSubmissionDay'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mSubmissionDay = $member['SubmissionDay'];
															}
														}
													for($value=1;$value<=31;$value++) 
														{ 
														if($mSubmissionDay == $value) 
															{
															echo("<option value=".$value." selected>".$value."</option>"); 
															}
														else 
															{
															echo("<option value=".$value.">".$value."</option>");
															}
														} 
												?> 
												</select> 
												<select name="CmbSubmissionMonth" tabindex='306'
												<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mSubmissionMonth = "";
													if (isset($_GET['mError']))
														{
														$mSubmissionMonth = $_SESSION['mSubmissionMonth'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mSubmissionMonth = $member['SubmissionMonth'];
															}
														}
													for($value=1;$value<=12;$value++) 
														{ 
														if($mSubmissionMonth == date("M", mktime(0, 0, 0, $value, 1, 2000))) 
															{ 
															echo("<option value=" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . " selected>" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . "</option>"); 
															} 
														else 
															{ 
															echo("<option value=" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . ">" . date("M", mktime(0, 0, 0, $value, 1, 2000)) . "</option>"); 
															} 
														} 
												?> 
												</select> 
												<select name="CmbSubmissionYear" tabindex='307' 
												<?php
													if ($mMode == "Add") 
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo " disabled = 'true'"; 
														}
												?>
												>
												<option value="None">None</option>
												<?php 
													$mSubmissionYear = "";
													if (isset($_GET['mError']))
														{
														$mSubmissionYear = $_SESSION['mSubmissionYear'];
														}
													else
														{
														if ($mMode != "Add")
															{
															$mSubmissionYear = $member['SubmissionYear'];
															}
														}
													for($value=2000;$value<=2020;$value++) 
														{ 
														if($mSubmissionYear == $value) 
															{ 
															echo("<option value=".$value." selected>".$value."</option>"); 
															} 
														else 
															{ 
															echo("<option value=".$value.">".$value."</option>"); 
															} 
														} 
												?> 
												</select>
											</td>
										</tr>
															
										<tr>
											<td class="StyleTableBodyRight">
												Remarks :											
											</td>
											<td class="StyleTableBodyLeft">
												<?php 
													echo "<input type='text' name='TxtTenderRemarks' id='TxtTenderRemarks' size='86' tabindex='308' ";
													if (isset($_GET['mError']))
														{
														echo "Value='" . $_SESSION['mTenderRemarks'] . "' />";
														}
													else
														{
														if ($mMode == "Add") 
															{
															echo "Value=''/>";
															}
														else if ($mMode == "Modify")
															{
															echo "Value='" . $member['TenderRemarks'] . "' />"; 
															}
														else
															{
															if ($ZeroRecord == 'Yes')
																{
																echo "Value='' disabled = 'true'/>"; 
																}
															else
																{
																echo "Value='" . $member['TenderRemarks'] . "' disabled = 'true' />"; 
																}
															}
														}
												?>
											</td>
										</tr>
										<tr>
											<td class="StyleTableBodyRight">
												Upload Document :											
											</td>
										  <td class="StyleTableBodyLeft">

												<!-- Name of input element determines name in $_FILES array -->
												<input name="DocumentPath" type="file" size="73" tabindex="309" 
												<?php
													if ($mMode == "Add")
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo "disabled='true'";
														}
												?> />
												
												<?php
													if ($ZeroRecord == 'Yes')
														{
														
														}
													else
														{
														if ($mMode != "Add") echo "<br />$member[DocumentName]";
														}
												?>
											</td>
										</tr>
										<tr>
											<td>											</td>
										  <td align="left">
												<INPUT type="submit" value="Add" name="BtnAdd" tabindex="310" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														echo "disabled = 'true' ";
														}
													else if ($mMode == "Modify")
														{
														echo "disabled = 'true' ";
														}
												?> />
												<INPUT type="submit" value="Modify" name="BtnModify" tabindex="311" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														echo "disabled = 'true' ";
														}
													else if ($mMode == "Modify")
														{
														echo "disabled = 'true' ";
														}
												?> />
												<INPUT type="submit" value="Save" name="BtnSave" tabindex="312" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo "disabled = 'true' ";
														}
												?> />
												<INPUT type="submit" value="Cancel" name="BtnCancel" tabindex="313" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														}
													else if ($mMode == "Modify")
														{
														}
													else
														{
														echo "disabled = 'true' ";
														}
												?> />
												<INPUT type="submit" value="Delete" name="BtnDelete" tabindex="314" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														echo "disabled = 'true' ";
														}
													else if ($mMode == "Modify")
														{
														echo "disabled = 'true' ";
														}
												?> />
												<INPUT type="submit" value="Clear" name="BtnClear" tabindex="315" class="button-Project"
												<?php
													if ($mMode == "Add")
														{
														}
													else 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>

Discord hacker0088#9402

FSecurity.org
IP Adresiniz :D