Latest Contest |
$fetch_res = mysql_query("select * from planner_artstudio where type='latestcontest' and subtype='latestcontest' order by startdate desc limit $offset,$entries_per_page");
if(mysql_num_rows($fetch_res)>0) {
while($rows_values = mysql_fetch_array($fetch_res)) {
foreach($rows_values as $K1=>$V1) $$K1 = $V1;
?>
|
if($image1 !='') { ?>
|
} ?>
...[Read More] |
if($startdate !='') { ?>Start Date :
$sd=explode('-',$startdate); echo $sd[2].'/'.$sd[1].'/'.$sd[0]; ?>
} ?> |
if($enddate !='') { ?>End Date :
$ed=explode('-',$enddate); echo $ed[2].'/'.$ed[1].'/'.$ed[0]; ?>
} ?> |
|
|
} } ?> |
if($num_rows > 8) echo $pagination; ?> |
if(mysql_num_rows($fetch_res)==0) { ?>
No Latest Contest Found |
}
?>
|
Our Participant Schools |
$lg=mysql_query("select * from gallery_images where type='logo' order by RAND() asc LIMIT 6");
while($lg_get=mysql_fetch_array($lg))
{
$src_image1=eregi_replace('boutique/','',$lg_get['image']);
?>
} ?>
|
Advertisment |
// for text
$fetch_planner = mysql_query("select * from ads where from_page='Latest Contest' and ad_text!='' order by id asc ");
mysql_num_rows($fetch_planner);
if(mysql_num_rows($fetch_planner)>0) {
while($rows = mysql_fetch_array($fetch_planner)) {
foreach($rows as $K1=>$V1) $$K1 = $V1;
if($to_page=='Latest Contest')
{
$display='list-latestcontest.php';
}
else if($to_page=='Results')
{
$display='list-competitions.php';
}
else if($to_page=='Events')
{
$display='list-events.php';
}
else if($to_page=='Art And Craft Club')
{
$display='idearoom.php?type=A';
}
else if($to_page=='Creative Corner')
{
$display='idearoom.php?type=C';
}
else if($to_page=='Art Products')
{
$display='boutique-category.php?type=A';
}
else if($to_page=='Other Products')
{
$display='boutique-category.php?type=O';
}
else if($to_page=='Training')
{
$display='list-artstudio.php?type=artstudio&stype=training';
}
else if($to_page=='Workshop')
{
$display='list-artstudio.php?type=artstudio&stype=workshops';
}
else if($to_page=='Demos')
{
$display='list-artstudio.php?type=artstudio&stype=demos';
}
else if($to_page=='Camp')
{
$display='list-artstudio.php?type=artstudio&stype=camp';
}
else if($to_page=='Photography')
{
$display='list-artstudio.php?type=artstudio&stype=Photography';
}
?>
|
} } ?>
// for text
$fetch_planner = mysql_query("select * from ads where from_page='Latest Contest' and ad_image!='' order by id asc ");
if(mysql_num_rows($fetch_planner)>0) {
while($rows = mysql_fetch_array($fetch_planner)) {
foreach($rows as $K1=>$V1) $$K1 = $V1;
if($to_page=='Latest Contest')
{
$display='list-latestcontest.php';
}
else if($to_page=='Results')
{
$display='list-competitions.php';
}
else if($to_page=='Events')
{
$display='list-events.php';
}
else if($to_page=='Art And Craft Club')
{
$display='idearoom.php?type=A';
}
else if($to_page=='Creative Corner')
{
$display='idearoom.php?type=C';
}
else if($to_page=='Art Products')
{
$display='boutique-category.php?type=A';
}
else if($to_page=='Other Products')
{
$display='boutique-category.php?type=O';
}
else if($to_page=='Training')
{
$display='list-artstudio.php?type=artstudio&stype=training';
}
else if($to_page=='Workshop')
{
$display='list-artstudio.php?type=artstudio&stype=workshops';
}
else if($to_page=='Demos')
{
$display='list-artstudio.php?type=artstudio&stype=demos';
}
else if($to_page=='Camp')
{
$display='list-artstudio.php?type=artstudio&stype=camp';
}
else if($to_page=='Photography')
{
$display='list-artstudio.php?type=artstudio&stype=Photography';
}
?>
$src_image=eregi_replace('boutique/','',$ad_image);?>
|
|
} } ?>
|