|
|
Tenders
|
include_once "database.php";
db_connect();
$sql="select description,date_format(cpdate,'%d/%m/%y'),t_notice,t_docu,corri1,corri2,corri3,tpath,cpath1,cpath2,cpath3 from tender_info order by mno desc limit 5";
//echo $sql;
$result = mysql_query($sql) or Die("Could not select");
$sno=0;
while ($row=mysql_fetch_array($result))
{
$dec[$sno]=$row[0];
$cdate[$sno]=$row[1];
$tnotice[$sno]=$row["t_notice"];
$tpath[$sno]=$row["tpath"];
$sno=$sno+1;
}
// initialising array ********************
//*************************descreption *********************
if(empty($dec[0]))
{
$dec[0]="";
}
if(empty($dec[1]))
{
$dec[1]="";
}
if(empty($dec[2]))
{
$dec[2]="";
}
if(empty($dec[3]))
{
$dec[3]="";
}
if(empty($dec[4]))
{
$dec[4]="";
}
//*******************************tender closing date **************************
if(empty($cdate[0]))
{
$cdate[0]="";
}
if(empty($cdate[1]))
{
$cdate[1]="";
}
if(empty($cdate[2]))
{
$cdate[2]="";
}
if(empty($cdate[3]))
{
$cdate[3]="";
}
if(empty($cdate[4]))
{
$cdate[4]="";
}
//*******************************TENDER NOTICE **************************
if(empty($tnotice[0]))
{
$tnotice[0]="";
}
if(empty($tnotice[1]))
{
$tnotice[1]="";
}
if(empty($tnotice[2]))
{
$tnotice[2]="";
}
if(empty($tnotice[3]))
{
$tnotice[3]="";
}
if(empty($tnotice[4]))
{
$tnotice[4]="";
}
//*******************************TENDER NOTICE PATH **************************
if(empty($tpath[0]))
{
$tpath[0]="";
}
if(empty($tpath[1]))
{
$tpath[1]="";
}
if(empty($tpath[2]))
{
$tpath[2]="";
}
if(empty($tpath[3]))
{
$tpath[3]="";
}
if(empty($tpath[4]))
{
$tpath[4]="";
}
//echo $dec[8];
$sql="select * from update_info";
//echo $sql;
$result = mysql_query($sql) or Die("Could not ");
$row=mysql_fetch_array($result) or Die(":Could not select");
$udate=$row[0];
msg();
function msg()
{
global $udate,$dec,$cdate,$tnotice,$tpath;
?>
|
To Download Detailed Tender
Specifications Click on one of the Source of Tenders listed below |
Recent NIT's |
Tender Classifications |
Description |
Tender Closing date |
$sql="select * from source order by source";
$result=mysql_query($sql) or die("could not execute");
?>
|
if ($tnotice[0]=='YES')
{
echo"";
}
echo '1.'.$dec[0] ?> |
|
$sql="select * from classification order by classification";
$result=mysql_query($sql) or Die("could not execute");
?>
|
if ($tnotice[1]=='YES')
{
echo"";
} echo '2.'.$dec[1] ?> |
|
if ($tnotice[2]=='YES')
{
echo"";
} echo '3.'.$dec[2] ?> |
|
if ($tnotice[3]=='YES')
{
echo"";
} echo '4.'.$dec[3] ?> |
|
if ($tnotice[4]=='YES')
{
echo"";
} echo '5.'.$dec[4] ?> |
|
|
|
}
?>
|
|
|
|
|
|
|