Mam CMS (nuked klan)
I gdy dodaje screeny z gry, to muszę to robi pojedyńczo, nie da się tego robi masowo;/
Tu macie screena

Tu załączam CAŁY plik odpowiedni za dodawanie screenów i innych rzeczy
Tu macie dokładnie kod odpowiedzialny za dodawanie tego co widzicie na screenie
Kod
function add_file($im_id)
{
global $nuked, $theme, $bgcolor2;
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"pl\">\n"
. "<head><title>" . _ADMINMATCH . "</title>\n"
. "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\" />\n"
. "<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n"
. "<link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/" . $theme . "/style.css\" /></head>\n"
. "<body style=\"background: " . $bgcolor2 . ";\">\n"
. "<form method=\"post\" action=\"index.php?file=Wars&nuked_nude=admin&op=send_file\" enctype=\"multipart/form-data\">\n"
. "<div style=\"text-align: center;\"><br /><big><b>" . _ADDFILE . "</b></big></div>\n"
. "<div><br /><b>" . _URL . " :</b> <input type=\"text\" size=\"40\" name=\"url_file\" /><br />\n"
. "<br /><b>" . _UPFILE . " :</b><br /><input type=\"file\" name=\"fichiernom\" /> <input class=\"checkbox\" type=\"checkbox\" name=\"ecrase_screen\" value=\"1\" /> " . _REPLACE . "<br />\n"
. "<b>" . _TYPE . " :</b> <select name=\"file_type\"><option value=\"screen\">" . _IMG . "</option><option value=\"demo\">" . _DEMO . "</option></select><br />\n"
. "<input type=\"hidden\" name=\"im_id\" value=\"" . $im_id . "\" /></div>\n"
. "<div style=\"text-align: center;\"><br /><input type=\"submit\" value=\"" . _SEND . "\" /></div>\n"
. "<div style=\"text-align: center;\"><br /><a href=\"#\" onclick=\"javascript:window.close()\"><b>" . _CLOSEWINDOW . "</b></a></div></form></body></html>";
}
{
global $nuked, $theme, $bgcolor2;
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"pl\">\n"
. "<head><title>" . _ADMINMATCH . "</title>\n"
. "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\" />\n"
. "<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n"
. "<link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/" . $theme . "/style.css\" /></head>\n"
. "<body style=\"background: " . $bgcolor2 . ";\">\n"
. "<form method=\"post\" action=\"index.php?file=Wars&nuked_nude=admin&op=send_file\" enctype=\"multipart/form-data\">\n"
. "<div style=\"text-align: center;\"><br /><big><b>" . _ADDFILE . "</b></big></div>\n"
. "<div><br /><b>" . _URL . " :</b> <input type=\"text\" size=\"40\" name=\"url_file\" /><br />\n"
. "<br /><b>" . _UPFILE . " :</b><br /><input type=\"file\" name=\"fichiernom\" /> <input class=\"checkbox\" type=\"checkbox\" name=\"ecrase_screen\" value=\"1\" /> " . _REPLACE . "<br />\n"
. "<b>" . _TYPE . " :</b> <select name=\"file_type\"><option value=\"screen\">" . _IMG . "</option><option value=\"demo\">" . _DEMO . "</option></select><br />\n"
. "<input type=\"hidden\" name=\"im_id\" value=\"" . $im_id . "\" /></div>\n"
. "<div style=\"text-align: center;\"><br /><input type=\"submit\" value=\"" . _SEND . "\" /></div>\n"
. "<div style=\"text-align: center;\"><br /><a href=\"#\" onclick=\"javascript:window.close()\"><b>" . _CLOSEWINDOW . "</b></a></div></form></body></html>";
}
I bardzo bym prosił aby coś zrobi(nie wiem wystarczy dodac drugi taki 'paneli co mozna wybrac zdjecie')
abym mogl te fotki wysylac masowo a nie pojedynczo.
Prosze o pomoc