Does anyone have the coding to replace the following in ownercp (wapdesire) to allow for smilie uploading from phone or pc rather than by url ? i've made several attempts and cant work out how to do it so the file extension doesnt appear in the code
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>else if($action=="addsml")
{
echo "<head>";
echo "<title>Owner Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "Add Smilies
";
echo "<form action=\"ownrproc.php?action=addsml&sid=$sid\" method=\"post\">";
echo "Code:<input name=\"smlcde\" maxlength=\"30\"/>
";
echo "Image Source:<input name=\"smlsrc\" value=\"../smilies/\" maxlength=\"200\"/>
";
echo "<input type=\"Submit\" Name=\"Submit\" Value=\"Add\"></form>";
echo "9 <a accesskey=\"9\" href=\"ownercp.php?action=ownercp&sid=$sid\">< img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "0 <a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}</div>
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>else if($action=="addsml")
{
echo "<head>";
echo "<title>Owner Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "Add Smilies
";
echo "<form action=\"ownrproc.php?action=addsml&sid=$sid\" method=\"post\">";
echo "Code:<input name=\"smlcde\" maxlength=\"30\"/>
";
echo "Image Source:<input name=\"smlsrc\" value=\"../smilies/\" maxlength=\"200\"/>
";
echo "<input type=\"Submit\" Name=\"Submit\" Value=\"Add\"></form>";
echo "9 <a accesskey=\"9\" href=\"ownercp.php?action=ownercp&sid=$sid\">< img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "0 <a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}</div>
Comment