|
...
|
...
|
@@ -93,7 +93,7 @@ function storyform($stories, $preview = 0){
|
|
93
|
93
|
$count = 0;
|
|
94
|
94
|
$result4 = dbquery("SELECT charname, catid, charid FROM ".TABLEPREFIX."fanfiction_characters ORDER BY charname");
|
|
95
|
95
|
if(dbnumrows($result4)) {
|
|
96
|
|
- $output .= "<div style=\"float: left; width: 49%;\"><label for=\"charid\">"._CHARACTERS.":</label><br><select size=\"5\" style=\"width: 99%;\" id=\"charid\" name=\"charid[]\" multiple><option value=\"\">"._NONE."</option>";
|
|
|
96
|
+ $output .= "<div style=\"float: left; width: 49%;\"><label for=\"charid\">"._CHARACTERS.":</label><br><select size=\"5\" style=\"width: 99%;\" id=\"charid\" name=\"charid[]\" multiple>";
|
|
97
|
97
|
while ($charresults = dbassoc($result4)) {
|
|
98
|
98
|
if((is_array($catid) && in_array($charresults['catid'], $catid)) || $charresults['catid'] == -1) {
|
|
99
|
99
|
$output .= "<option value=\"".$charresults['charid']."\"".($charid != "" && in_array(stripslashes($charresults['charid']), $charid) ? " selected" : "").">".stripslashes($charresults['charname'])."</option>";
|