Brugernes bedømmelse
Hej allesammen !Jeg kunne godt tænke mig at folk skal kunne stemme på mine film, men jeg ved ikke hvordan skal skal gå igang med det..?
Exp. http://www.laserdisken.dk/html/visvare.dna?vare=11208135741308569
Lidt længer nede på siden....
Hvad skal jeg gøre for at komme igang med det, hvad skal jeg bruge
Jeg bruger:
php
Mysql
<<<<<MIN KODE>>>>>
<?php
include ('config.php');
$dvdid = $_GET['dvdinfos_id'];
$sql = "SELECT * FROM fusion_dvdinfos where dvdinfos_id = '".$dvdid."'";
$result = dbquery($sql);
if(dbrows($result)!=0)
{
$data=dbarray($result);
echo " <div align='center'><center><table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' width='291' height='396'>";
echo " <tr><td width='562' valign='top' align='center' height='62' style='border-style: none; border-width: medium' colspan='2'><div align='center'><center>";
echo " <table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse; border-width: 0' width='124%' align='left'>";
echo " <tr>";
echo " <td width='100%' style='border-style: none; border-width: medium'>";
echo "<font size='4'>$data[dvdinfos_name]</font></td>";
echo "</tr></table></center></div>";
echo " <p align='left'><i><b><font size='2'>Film omtale:</font></b></i></td>";
echo " <td width='138' align='center' height='194' valign='top' rowspan='3' style='border-style: none; border-width: medium'>";
echo " <div align='center'><center>";
echo " <table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse; border-width: 0' width='100%' height='179'>";
echo " <tr><td width='100%' style='border-style: none; border-width: medium' height='175' valign='top'>";
echo " <p align='center'><font size='2'>";
echo " <img border='1' src='".infusions."/dvdinfos_system/$data[dvdinfos_cover]' width='127' height='179'></font></td>";
echo " </tr></table></center></div></td></tr>";
echo " <tr>";
echo " <td width='266' valign='top' align='center' height='3' style='border-style: none; border-width: medium'>";
echo " <p align='left'><i><b><font size='2'>Film omtale:</font></b></i></td>";
echo " <td width='90' valign='top' align='center' height='3' style='border-style: none; border-width: medium'>";
echo " <font size='2'><b><i>ALDER HER</i></b></font></td>";
echo " </tr>";
echo " <tr>";
echo " <td width='394' valign='top' align='center' height='129' style='border-style: none; border-width: medium' colspan='2'>";
echo " <div align='left' style='width: 356; height: 122'>";
echo " <table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse; border-width: 0' bordercolor='#111111' width='356'>";
echo " <tr>";
echo " <td width='354' style='border-style: none; border-width: medium'>";
echo " <font size='1'><span style='background-color: #FFFFFF'>$data[dvdinfos_description]</span></font></td>";
echo " </tr></table></div></td></tr>";
echo "<tr>";
echo "<td width='415' valign='top' align='center' height='1' colspan='3' style='border-style: none; border-width: medium'>";
echo "<div align='center'>";
echo "<center>";
echo "<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' id='AutoNumber5' align='left' width='500'>";
echo "<tr>";
echo "<td width='137' height='1' align='center'>";
echo "<p>";
echo "<img border='1' src='".infusions."/dvdinfos_system/$data[dvdinfos_cover2]' width='168' height='114'></p>";
echo "<p>";
echo "<img border='1' src='".infusions."/dvdinfos_system/$data[dvdinfos_cover3]' width='166' height='104'></td>";
echo "<td width='6' height='1' align='center'></td>";
echo "<td width='357' height='5' valign='top' align='center'>";
echo "<table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse; border-width: 0' bordercolor='#111111' width='100%' height='82'>";
echo "<tr>";
echo "<td width='27%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='1'>";
echo "<font size='2' color='#FFFFFF'><b>Org titel:</b></font></td>";
echo "<td width='73%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='1'> </td>";
echo "</tr>";
echo "<tr>";
echo "<td width='27%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='1'>";
echo "<b><font size='2' color='#FFFFFF'>År:</font></b></td>";
echo "<td width='73%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='1'>";
echo "<font size='2' color='#FFFFFF'><b>$data[dvdinfos_alter]</b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='27%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='13'>";
echo "<b><font size='2' color='#FFFFFF'>Spilletid:</font></b></td>";
echo "<td width='73%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='13'>";
echo "<font size='2' color='#FFFFFF'><b>$data[dvdinfos_time]</b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='27%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='13'>";
echo "<b><font size='2' color='#FFFFFF'>kategori:</font></b></td>";
echo "<td width='73%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='13'>";
echo "<font size='2' color='#FFFFFF'><b>" . mysql_result(mysql_query("SELECT dvdinfos_cat_name FROM fusion_dvdinfos_cats WHERE dvdinfos_cat_id = '".$data['dvdinfos_cat']."'"),0)
." </b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='27%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='1'> </td>";
echo "<td width='73%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='1'> </td>";
echo "</tr>";
echo "<tr>";
echo "<td width='26%' bgcolor='#6699FF' style='border-style: none; border-width: medium' height='13'>";
echo "<b><font size='2' color='#FFFFFF'>Reting:</font></b></td>";
echo "<td width='74%' bgcolor='#6699FF' rowspan='2' valign='top' style='border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' height='52'>";
echo "<b><font size='2' color='#FFFFFF'>Døm filmen kommer her !?</font></b></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='26%' bgcolor='#6699FF' style='border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111' height='37'> </td>";
echo "</tr></table></td></tr></table></center></div></td></tr></table></center></div>";
}
?>
>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<