%PDF- %PDF-
Direktori : /home/dordingu/public_html/iadapt/ |
Current File : /home/dordingu/public_html/iadapt/lyricsone.php |
<html> <HEAD> <TITLE>I adapt</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> <BODY BGCOLOR=#D40000 text="#FFFFFF" link="#FF0000" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <? include("header.inc.php"); ?> <table width="815" height="600" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td rowspan="2" valign="top"><img src="images/newsitetemplate4_02.gif" width="52" height="368" alt=""></td> <td width="723" rowspan="3" valign="top" bgcolor="#000000"><table width="100%" border="0" cellspacing="15" cellpadding="0"> <tr> <td><p align="center"><strong> <?php echo "<table width=100%>"; echo "<tr><td align=left>"; include("news/lyrics.inc"); include_once("news/database.inc.php"); $sql="select count(*) from iadapt_lyrics"; $result=mysql_query($sql,$db); $myrow=mysql_fetch_array($result); $num_rows=$myrow[0]; $data = fread(fopen($show_iadaptlyricsone, "r"), filesize($show_iadaptlyricsone)); $sql="select * from iadapt_lyrics where n_id=$n_id"; $result=@mysql_query($sql,$db); while ($myrow=mysql_fetch_array($result)) { $n_id=$myrow["n_id"]; $n_date=date($date_format,$myrow["my_date"]); $news_english=$myrow["news_english"]; $news_hold=explode("\n",$news_english); $about=$myrow["about"]; $about_hold=explode("\n",$about); $n_title_eng=$myrow["n_title_eng"]; 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 (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); for ($i=0;$i<count($about_hold);$i++) { $hold_word=explode(" ",$about_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 (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); } $about=implode("\n",$about_hold); $about=nl2br($about); // --------------- if (!$end_date) { $end_date=""; } $hold = ""; if ($count % 2 == 0) { $hold.="</tr><tr>"; } $hold.=$data; $hold=str_replace("{DATE}",$n_date,$hold); $hold=str_replace("{TEXTI}",$news_english,$hold); $hold=str_replace("{NUMER}",$n_id,$hold); $hold=str_replace("{TITILL}",$n_title_eng,$hold); $hold=str_replace("{ABOUT}",$about,$hold); echo $hold; $count++; } //echo "</td></tr>"; echo "</table>"; ?> </strong></p> <div align="center"> <p><font size="1"><strong><a href="lyrics.php"><font face="Verdana, Arial, Helvetica, sans-serif">Back to lyrics</font></a></strong></font></p> </div></td> </tr> </table> <div align="center"></div> </td> <td rowspan="3" valign="top"><img src="images/newsitetemplate4_04.gif" width="39" height="392" alt=""></td> <td><img src="images/spacer.gif" width="1" height="192" alt=""></td> </tr> <tr> <td height="200"><img src="images/spacer.gif" width="1" height="199" alt=""></td> </tr> <tr> <td valign="top"> </td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> </table> <!-- End ImageReady Slices --> <map name="Map"> <area shape="rect" coords="506,153,543,165" href="music.php" alt="Music and media"> <area shape="rect" coords="593,152,616,165" href="guestbook" alt="Guestbook"> <area shape="rect" coords="624,152,641,165" href="about.php" alt="About I adapt"> <area shape="rect" coords="549,152,585,164" href="news.php" alt="Band news"> <area shape="rect" coords="647,150,697,166" href="photo/index.php" alt="Band Photos"> <area shape="rect" coords="706,151,772,166" href="words.php" alt="Words"> <area shape="rect" coords="533,167,574,180" href="lyrics.php" alt="Lyrics"> <area shape="rect" coords="583,165,644,180" href="albums.php" alt="Our Releases"> <area shape="rect" coords="711,166,747,180" href="links.php" alt="Links"> <area shape="rect" coords="753,165,778,179" href="buy.php" alt="Where to get our stuff"> <area shape="poly" coords="647,167,647,179,704,179,704,167" href="theysay.php" alt="What they say"> </map> <? include("footer.inc.php"); ?></BODY></html>