예제 #1
0
 if (($photo_url = $movie->photo_localurl()) != FALSE) {
     $smallth = "<img src=\"" . $photo_url . "\" width=\"105\" onclick=\"Preview(this);\" alt=\"poster\" />";
 } else {
     $smallth = "<img src=\"pic/imdb_pic/nophoto.gif\" alt=\"no poster\" />";
 }
 $autodata = '<a href="http://www.imdb.com/title/tt' . $thenumbers . '">http://www.imdb.com/title/tt' . $thenumbers . "</a><br /><strong><font color=\"navy\">------------------------------------------------------------------------------------------------------------------------------------</font><br />\n";
 $autodata .= "<font color=\"darkred\" size=\"3\">" . $lang_details['text_information'] . "</font><br />\n";
 $autodata .= "<font color=\"navy\">------------------------------------------------------------------------------------------------------------------------------------</font></strong><br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_title'] . "</font></strong>" . "" . $movie->title() . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_also_known_as'] . "</font></strong>";
 $temp = "";
 foreach ($movie->alsoknow() as $ak) {
     $temp .= $ak["title"] . $ak["year"] . ($ak["country"] != "" ? " (" . $ak["country"] . ")" : "") . ($ak["comment"] != "" ? " (" . $ak["comment"] . ")" : "") . ", ";
 }
 $autodata .= rtrim(trim($temp), ",");
 $runtimes = str_replace(" min", $lang_details['text_mins'], $movie->runtime_all());
 $autodata .= "<br />\n<strong><font color=\"DarkRed\">" . $lang_details['text_year'] . "</font></strong>" . "" . $movie->year() . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_runtime'] . "</font></strong>" . $runtimes . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_votes'] . "</font></strong>" . "" . $movie->votes() . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_rating'] . "</font></strong>" . "" . $movie->rating() . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_language'] . "</font></strong>" . "" . $movie->language() . "<br />\n";
 $autodata .= "<strong><font color=\"DarkRed\">" . $lang_details['text_country'] . "</font></strong>";
 $temp = "";
 for ($i = 0; $i < count($country); $i++) {
     $temp .= "{$country[$i]}, ";
 }
 $autodata .= rtrim(trim($temp), ",");
 $autodata .= "<br />\n<strong><font color=\"DarkRed\">" . $lang_details['text_all_genres'] . "</font></strong>";
 $temp = "";
 for ($i = 0; $i < count($gen); $i++) {
     $temp .= "{$gen[$i]}, ";