📄 setavatars.cgi
字号:
<font face=verdana color=#333333 size=1><b>Avatar Note</b><br>Note displays in the registration and user's configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="avatarnote" value="$avatarnote"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Personal Avatar Note</b><br>Note displays in the registration and user's configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="personalavatarnote" value="$personalavatarnote"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Custom Avatar Note</b><br>Note displays in the user's configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="customavatarnote" value="$customavatarnote"></td>
</tr>
<tr>
<td bgcolor=#EEEEEE valign=middle align=center colspan=2>
<font face=verdana color=#990000 size=3><b>Avatar Totals</b>
</font></td>
</tr>
~;
$tempoutput = "<select name=\"showtotalavatars\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$showtotalavatars\"/value=\"$showtotalavatars\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to show amount of total avatars?</b><br>If turned on the total amount of avatars will be displayed in the registration area and the user's profile page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"showtotalcustomavatars\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$showtotalcustomavatars\"/value=\"$showtotalcustomavatars\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to show amount of total custom avatars?</b><br>If turned on the total amount of custom avatars will be displayed in the registration area and the user's profile page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#EEEEEE valign=middle align=center colspan=2>
<font face=verdana color=#990000 size=3><b>Avatar Selections</b>
</font></td>
</tr>
~;
$tempoutput = "<select name=\"previousoption\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$previousoption\"/value=\"$previousoption\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to enable previous avatar option?</b><br>If turned on users will be able to select their previous avatar within their profile configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"noneoption\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$noneoption\"/value=\"$noneoption\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to enable none avatar option?</b><br>If turned on users will be able to select no avatar within their profile configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"seperator\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$seperator\"/value=\"$seperator\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to enable avatar seperator?</b><br>If turned on special avatar functions will have a seperator shown that will seperate them from the normal avatar listing within both the registration and user's profile configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"avataroption\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$avataroption\"/value=\"$avataroption\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to enable avatar option?</b><br>If turned on users will be able to select avatars within their profile configuration page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#EEEEEE valign=middle align=center colspan=2>
<font face=verdana color=#990000 size=3><b>Avatar Sizing</b>
</font></td>
</tr>
~;
$tempoutput = "<select name=\"avatarsize\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$avatarsize\"/value=\"$avatarsize\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to enable size limits of avatars?</b><br>If turned on the width and height settings down below will take effect. Sizes 32x32 and 64x64 are the most popular.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Avatar Width</b></font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="avatarwidth" value="$avatarwidth"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Avatar Height</b></font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="avatarheight" value="$avatarheight"></td>
</tr>
~;
$tempoutput = "<select name=\"avatarselect\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$avatarselect\"/value=\"$avatarselect\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to specify a size for the avatar selection?</b><br>If turned on you may enter the size number down below which will take effect for both the registration page and the user's profile.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Avatar Select Size</b><br>Ikonboard default size is 6.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="avatarselectsize" value="$avatarselectsize"></td>
</tr>
~;
$tempoutput = "<select name=\"avatartableheight\">\n<option value=\"off\">OFF\n<option value=\"on\">ON\n</select>\n";
$tempoutput =~ s/value=\"$avatartableheight\"/value=\"$avatartableheight\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Do you wish to specify a size for the avatar table height?</b><br>If turned on you may enter the size number down below which will take effect for both the registration page and the user's profile. This is useful if you want the table to align with your avatar's height.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Avatar Table Height Size</b><br>If you have 32x32 size avatars size mostly recommended would be 32. If you have 64x64 size avatars size mostly recommended would be 64. Default size is 100.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
<input type=text size=40 name="avatartableheightsize" value="$avatartableheightsize"></td>
</tr>
<tr>
<td bgcolor=#EEEEEE valign=middle align=center colspan=2>
<font face=verdana color=#990000 size=3><b>Avatar Locations</b>
</font></td>
</tr>
~;
$tempoutput = "<select name=\"setupavatarlocation\">\n<option value=\"top\">TOP\n<option value=\"bottom\">BOTTOM\n</select>\n";
$tempoutput =~ s/value=\"$setupavatarlocation\"/value=\"$setupavatarlocation\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Where do you wish to set your user avatar set up location?</b><br>Location will take effect within the user's profile set up area and the registration set up page.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"profileavatarlocation\">\n<option value=\"top\">TOP\n<option value=\"bottom\">BOTTOM\n</select>\n";
$tempoutput =~ s/value=\"$profileavatarlocation\"/value=\"$profileavatarlocation\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Where do you wish to set your user profile avatar location?</b><br>Location will take effect within the user profile viewing area.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
~;
$tempoutput = "<select name=\"onlineavatarlocation\">\n<option value=\"left\">LEFT\n<option value=\"right\">RIGHT\n</select>\n";
$tempoutput =~ s/value=\"$onlineavatarlocation\"/value=\"$onlineavatarlocation\" selected/;
print qq~
<tr>
<td bgcolor=#FFFFFF valign=middle align=left width=40%>
<font face=verdana color=#333333 size=1><b>Where do you wish to set your user online avatar location?</b><br>Location will take effect within the active users online viewing area.</font></td>
<td bgcolor=#FFFFFF valign=middle align=left>
$tempoutput</td>
</tr>
<tr>
<td bgcolor=#EEEEEE valign=middle align=center colspan=2>
<input type=submit value=submit ></form></td></tr></table></td></tr></table>
~;
}
}
else {
&adminlogin;
}
print qq~</td></tr></table></body></html>~;
exit;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -