%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dordingu/public_html/denver/
Upload File :
Create Path :
Current File : /home/dordingu/public_html/denver/gigsone.php

<html>
<HEAD>
<TITLE>Denver</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="denver.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (shitidea.psd) -->
<table width="618" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="66" align="center" valign="top"><br>
      <br>
    <img src="images/langel.gif" width="66" height="95"></td>
    <td width="482" align="center" valign="top" class="denvertd"><table width="482" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
  <td width="482" align="center" valign="top"><TABLE WIDTH=482 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 bordercolor="#FFFFFF">
        <TR>
          <TD height="427" align="center" valign="top" ><div align="center">
              <TABLE WIDTH=482 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 bordercolor="#FFFFFF">
                <TR>
                  <TD width="133" height="427" align="center" valign="top" class="denverside"><p align="left"><a href="http://www.denverboys.com"><img src="images/spacer.gif" width="23" height="155" border="0"></a>
                    <map name="MapMap">
                      <area shape="rect" coords="3,7,35,20" href="#">
                    </map>
                  </p></TD>
                  <TD width="349" align="left" valign="top" class="denvermaintop"><div align="center">
                      <p>                        <br>
                        <img src="images/linkbar2.gif" width="342" height="22" border="0" usemap="#Map">
                        <map name="Map">
                          <area shape="rect" coords="310,2,339,13" href="drivel.php" alt="Drivel">
                          <area shape="rect" coords="277,3,306,13" href="media.php" alt="Media">
                          <area shape="rect" coords="232,5,275,15" href="contacts.php" alt="Contact">
                          <area shape="rect" coords="191,5,231,15" href="gb/" alt="Guests">
                          <area shape="rect" coords="160,5,192,17" href="lyrics.php" alt="Lyrics">
                          <area shape="rect" coords="99,7,127,18" href="music.php" alt="Music">
                          <area shape="rect" coords="131,6,157,17" href="links.php" alt="Links">
                          <area shape="rect" coords="59,7,97,19" href="denver.php" alt="Denver">
                          <area shape="rect" coords="3,8,30,20" href="index.php" alt="News">
                          <area shape="rect" coords="34,7,58,20" href="gigs.php" alt="Gigs">
                        </map>
                        <br>
                          <img src="DENVERS0KKA.jpg" width="339" height="231"><br>
                      </p>
                      <div align="left">
                        <p align="left"><font size="2"><font size="1">
                          <?php

echo "<table width=100%>";
echo "<tr><td align=left>";
include("news/news.inc");
include_once("news/database.inc.php");

if (($show_news!="all"))
	{
	
	
	if (isset($start) && !$prev)
		{
		
		$start_row=$start;
		$start=$start+$show_news;
		
		}
	else if (!$start && !$prev)
		{
		$start=0;
		$start_row=0;
		
		}
		
	if ($prev)
		{
		$start_row=$prev;
		$start=$prev-$show_news;
		
		}	
	if (!$end)
		{
		
		$end=$show_news;
		
		}	
	$limit="Limit $start,$end";
	
	
	}
	
$sql="select count(*) from denver_gigs ";
$result=mysql_query($sql,$db);
$myrow=mysql_fetch_array($result);
$num_rows=$myrow[0];	

$data = fread(fopen($show_gigs1, "r"), filesize($show_gigs1));


$sql="select n_id,UNIX_TIMESTAMP(n_date) as my_date,n_title_eng, news_english, pic_link,n_pic  from denver_gigs where n_id=$n_id $limit";
$result=@mysql_query($sql,$db);
while ($myrow=mysql_fetch_array($result))
	{
	$n_id=$myrow["n_id"];
	$n_date=date($date_format,$myrow["my_date"]);
	$end_date=$myrow["end_date"];
	$news_english=$myrow["news_english"];
	$pic_link=$myrow["pic_link"];
	$news_hold=explode("\n",$news_english);
	$picture=$myrow["n_pic"];
	$n_title_eng=$myrow["n_title_eng"];
	$file=$myrow["n_file"];
	for ($i=0;$i<count($news_hold);$i++)
		{
		$hold_word=explode(" ",$news_hold[$i]);
		for ($n=0;$n<count($hold_word);$n++)
			{
			if (substr($hold_word[$n],0,4)=="http")
				{
				
				$hold_word[$n]="<a href=".$hold_word[$n]." target=_new>".$hold_word[$n]."</a>";
				
				}
		else if (substr($hold_word[$n],0,4)=="www.")
				{
				
				$hold_word[$n]="<a href='http://$hold_word[$n]' target=_new>".$hold_word[$n]."</a>";
				
				}
			else if (strpos($hold_word[$n],"@"))
				{
				
				$hold_word[$n]="<a href=\"mailto:$hold_word[$n]\" target=_new>$hold_word[$n]</a>";
				
				}
			
			}	
		$news_hold[$i]=implode(" ",$hold_word);	
		}
	$news_english=implode("\n",$news_hold);	
	$news_english=nl2br($news_english);
	

	$hold=$data;

	$hold=str_replace("{start_date}",$n_date,$hold);
	$hold=str_replace("{news_english}",$news_english,$hold);
	$hold=str_replace("{news_number}",$n_id,$hold);
 	$hold=str_replace("{topic_eng}",$n_title_eng,$hold);
   	$hold=str_replace("{topic_isl}",$n_title_isl,$hold);
    
        if ($picture)
		{
		if ($pic_link)
			{
			$hold=str_replace("{picture}","<a href=\"$pic_link\" target=_new><img  src=news/upload/".$picture."  border=0></a>",$hold);
			}
		else
			{
			$hold=str_replace("{picture}","<img border=\"0\" src=\"news/upload/".$picture."\">",$hold);
			}	
		}
	else
		{
		$hold=str_replace("{picture}","",$hold);
		}

	
	echo $hold;
	
	}

echo "</td></tr>";
echo "</table>";



?>
                          <br>
                            </font></font></p>
                        </div>
                      <p></p>
                      <p>&nbsp; </p>
                  </div></TD>
                </TR>
              </TABLE>
              <p>&nbsp; </p>
          </div></TD>
        </TR>
    </TABLE></td>
  </tr>
    </table></td>
    <td width="66" align="center" valign="top"><br>
      <br>      <img src="images/rangel.gif" width="66" height="95"></td>
  </tr>
</table>
																																																																																																																							                                                                                                            <di</BODY>
</HTML>

Zerion Mini Shell 1.0