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
CODEelse 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 "
";
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 " ";
echo "</body>";
}
:p:p:p