im having prob with the code it get uploaded to the sql but dnt display on the list
i think the prob are in here
Code:
//////////////////////////////////////////add vault else if($action=="addvlt2") { $pstyle = theme($sid); echo "<head>\n"; echo "<title>$sitetitle</title>\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/$theme[0]\">"; echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />\n"; echo "<meta http-equiv=\"Cache-Control\" content=\"no-cache\" />\n"; echo "<meta http-equiv=\"Pragma\" content=\"no-cache\" />\n"; echo "</head>"; if(!getplusses(getuid_sid($sid))>25) { echo "<card id=\"main\" title=\"$stitle\">"; echo "<p align=\"center\">"; echo "At least you should have 25 plusses to add an item to your vault<br/><br/>"; echo "<a href=\"index.php?action=main&sid=$sid&type=send\">Main Menu</a>"; echo "</p>"; echo "</card>"; echo "</wml>"; exit(); } addonline(getuid_sid($sid),"v2:Adding Vault Item","index.php?action=$action"); echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"60\" width=\"159\">"; echo "<tr>"; echo "<td id=\"body\" width=\"159\">"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<table border=\"0\" width=\"99%\" cellspacing=\"0\" cellpadding=\"0\" class=\"boxed\" align=\"center\">"; echo "<tr>"; echo "<td class=\"boxedTitle\" height=\"20\">"; echo "<h1 align=\"center\" class=\"boxedTitleText\">Add Vault</h1></td>"; echo "</tr>"; echo "<tr>"; echo "<td class=\"boxedContent\">"; echo "<p align=\"left\">Earn more plusses by adding more files :)<br/><a href=\"uploader.php?sid=$sid&ver=html\">Upload files from your Phone</a><br/>"; echo "<form action=\"genproc.php?action=addvlt2&sid=$sid\" method=\"post\">"; echo "Item Name: <input name=\"viname\" maxlength=\"50\"/><br/>"; echo "Item URL: <input name=\"vilink\" maxlength=\"255\" value=\"http://\"/><br/>"; echo "Description: <input name=\"videsc\" maxlength=\"50\"/><br/>"; echo "<select name=\"file\">"; echo "<option value=\"1\">Symbian Software</option>"; echo "<option value=\"2\">Java Software</option>"; echo "<option value=\"3\">Anti Virus</option>"; echo "<option value=\"4\">s40v2/s40v3-Themes</option>"; echo "<option value=\"5\">s60/s60v3/Nseries/-Themes </option>"; echo "<option value=\"6\">Sony Ericsson-Themes </option>"; echo "<option value=\"7\">s30/40/s40v2-Games </option>"; echo "<option value=\"8\">s60/s60v3 Games </option>"; echo "<option value=\"9\">Nseries/Eseries/Ngage-Games </option>"; echo "<option value=\"10\">Sony Ericsson-Games</option>"; echo "<option value=\"11\">Full MP3</option>"; echo "<option value=\"12\">3GP Videos</option>"; echo "<option value=\"13\">Scandal</option>"; echo "<option value=\"14\">Gameboy Games</option>"; echo "<option value=\"15\">Naruto-Themes/Poly/MP3</option>"; echo "<option value=\"16\">MP3/MIDI/WAV/POLY/AMR/RAR</option>"; echo "<option value=\"17\">Opera Software</option>"; echo "<option value=\"18\">Images</option>"; echo "</select><br/>"; echo "<input type=\"submit\" value=\"Upload\"/>"; echo "</form>"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo xhtmlfoot(); exit(); }
Code:
echo "<select name=\"file\">"; echo "<option value=\"1\">Symbian Software</option>"; echo "<option value=\"2\">Java Software</option>"; echo "<option value=\"3\">Anti Virus</option>"; echo "<option value=\"4\">s40v2/s40v3-Themes</option>"; echo "<option value=\"5\">s60/s60v3/Nseries/-Themes </option>"; echo "<option value=\"6\">Sony Ericsson-Themes </option>"; echo "<option value=\"7\">s30/40/s40v2-Games </option>"; echo "<option value=\"8\">s60/s60v3 Games </option>"; echo "<option value=\"9\">Nseries/Eseries/Ngage-Games </option>"; echo "<option value=\"10\">Sony Ericsson-Games</option>"; echo "<option value=\"11\">Full MP3</option>"; echo "<option value=\"12\">3GP Videos</option>"; echo "<option value=\"13\">Scandal</option>"; echo "<option value=\"14\">Gameboy Games</option>"; echo "<option value=\"15\">Naruto-Themes/Poly/MP3</option>"; echo "<option value=\"16\">MP3/MIDI/WAV/POLY/AMR/RAR</option>"; echo "<option value=\"17\">Opera Software</option>"; echo "<option value=\"18\">Images</option>"; echo "</select><br/>";
Comment