original code
- Code: Select all
$inputForm = "
<form action=\"update.php\" enctype=\"multipart/form-data\" method=\"POST\" onsubmit=\"submitonce(this)\">
$authFields
".border('syellow','start','Upload Files')."
<table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><small>".$wordings[$roster_conf['roster_lang']]['lualocation']."</small></div></td>
</tr>
<tr>
<td class=\"membersRow2\" onmouseover=\"overlib('<b>CharacterProfiler.lua</b> ".$wordings[$roster_conf['roster_lang']]['filelocation']."\\\\CharacterProfiler.lua',WRAP,RIGHT);\" onmouseout=\"return nd();\">CharacterProfiler.lua</td>
<td class=\"membersRowRight2\"><input type=\"file\" accept=\"CharacterProfiler.lua\" name=\"CharacterProfiler\"></td>
</tr>
$pvplogInputField
<tr>
<td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><input type=\"submit\" value=\"".$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
</tr>
</table>
".border('syellow','end')."
<br />
".border('sgray','start','Officer Use Only')."
<table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"membersRow1\" onmouseover=\"overlib('".$wordings[$roster_conf['roster_lang']]['roster_upd_pw_help']."',CAPTION,'".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."',WRAP,RIGHT);\" onmouseout=\"return nd();\">".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."</td>
<td class=\"membersRowRight1\"><input type=\"password\" name=\"password\"></td>
</tr>
<tr>
<td class=\"membersRowRight2\" colspan=\"2\"><div align=\"center\"><input type=\"submit\" value=\"".$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
</tr>
</table>
".border('sgray','end')."
</form>";
And i try to change to:
- Code: Select all
$inputForm = "
<form action=\"update.php\" enctype=\"multipart/form-data\" method=\"POST\" onsubmit=\"submitonce(this)\">
$authFields
".border('syellow','start','Upload Files')."
<table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><small>".$wordings[$roster_conf['roster_lang']]['lualocation']."</small></div></td>
</tr>
<tr>
<td class=\"membersRow2\" onmouseover=\"overlib('<b>CharacterProfiler.lua</b> ".$wordings[$roster_conf['roster_lang']]['filelocation']."\\\\CharacterProfiler.lua',WRAP,RIGHT);\" onmouseout=\"return nd();\">CharacterProfiler.lua</td>
<td class=\"membersRowRight2\"><input type=\"file\" accept=\"CharacterProfiler.lua\" name=\"CharacterProfiler\"></td>
</tr>
$pvplogInputField
<tr>
<td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><input type=\"submit\" value=\"".$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
</tr>
</table>
".border('syellow','end')."
<br />
<div id=\"OFFICER_col\">
".border('sgray','start','<div style=\"cursor:pointer;width:350px;\" onclick=\"swapShow('OFFICER_col','OFFICER_full')\"><img src=\"".$roster_conf['img_url']."plus.gif\" style=\"float:right;\" />Officer Use Only</div>')."
".border('sgray','end')."
</div>
<div id=\"OFFICER_full\" style=\"display:none;\">
".border('sgray','start','<div style=\"cursor:pointer;width:350px;\" onclick=\"swapShow('OFFICER_col','OFFICER_full')\"><img src=\"".$roster_conf['img_url']."minus.gif\" style=\"float:right;\" />Officer Use Only</div>')."
<table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"membersRow1\" onmouseover=\"overlib('".$wordings[$roster_conf['roster_lang']]['roster_upd_pw_help']."',CAPTION,'".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."',WRAP,RIGHT);\" onmouseout=\"return nd();\">".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."</td>
<td class=\"membersRowRight1\"><input type=\"password\" name=\"password\"></td>
</tr>
<tr>
<td class=\"membersRowRight2\" colspan=\"2\"><div align=\"center\"><input type=\"submit\" value=\"".$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
</tr>
</table>
".border('sgray','end')."
</div>
<!-- End OFFICER -->
</form>";
i known that problem was on quotes .. but i'm lost!!
Someone can help me ?