Beispiel #1
0
echo lang('subject');
?>
:<br />
			<input type="text" name="qsubject" class="border" style="width: 93%" value="<?php 
echo switchs(field_clean($_POST['qsubject']));
?>
" /> <input name="post" value="<?php 
echo lang('reply');
?>
" type="submit" />
		</td>
    </tr>
    <tr>
		<td width="200px;" valign="top">
			<?php 
echo lang('message');
?>
:<br />
			<textarea name="qcontent" id="qcontent" class="border" style="width: 99.3%; height: 150px;"><?php 
echo switchs(field_clean($_POST['qcontent']));
?>
</textarea>
		</td>
    </tr>
	<?php 
load_hook('quickreply_inside_after');
?>
</table>
</form>
<?php 
load_hook('quickreply_after');
Beispiel #2
0
echo $user_data['username'];
?>
</strong></dd>

							</dl>
    				</td>
    			</tr>
    			<tr>
    				<td class="form">
							<dl class="input">
								<dt><?php 
echo lang('email');
?>
</dt>
								<dd><input type="text" name="email" class="border" style="width: 40%" value="<?php 
echo switchs(addslashes($_POST['email']), $user_data['email']);
?>
"></dd>

							</dl>
    				</td>
    			</tr>
    			<tr>
    				<td class="form">
							<dl class="input">
								<dt><?php 
echo lang('new_password');
?>
</dt>
								<dd><input type="password" name="npassword" class="border" style="width: 40%"></dd>
Beispiel #3
0
						<span><?php 
                echo lang('in_seconds');
                ?>
</span>
						<br /><br />&nbsp;
					</label>
				</dt>
				<dd><input type="text" name="post_topic_time_limit" value="<?php 
                echo switchs($_POST['post_topic_time_limit'], $config['post_topic_time_limit']);
                ?>
" class="border" style="width: 10%" /> <label><?php 
                echo lang('seconds_between_topics');
                ?>
</label></dd><br />
				<dd><input type="text" name="post_reply_time_limit" value="<?php 
                echo switchs($_POST['post_reply_time_limit'], $config['post_reply_time_limit']);
                ?>
" class="border" style="width: 10%" /> <label><?php 
                echo lang('seconds_between_posting');
                ?>
</label></dd>
			</dl>
			
			<dl class="input">
				<dt><label for=""><span></span></label></dt>
				<dd><input type="submit" name="settings" class="button rounded" value="save" /></dd>
			</dl>
		</div>
		</form>
<?php 
            } else {
Beispiel #4
0
</dd>
							<dd><input type="checkbox" name="admin" <?php 
    echo equals($update_user_data['admin'], true, ' checked ');
    ?>
/> <?php 
    echo lang('admin');
    ?>
</dd>
						</dl>
						<dl class="input">
							<dt><?php 
    echo lang('email');
    ?>
</dt>
							<dd><input type="text" name="email" class="border" style="width: 40%" value="<?php 
    echo switchs($_POST['email'], $update_user_data['email']);
    ?>
"></dd>
						</dl>
						<dl class="input">
							<dt><?php 
    echo lang('new_password');
    ?>
</dt>
							<dd><input type="password" name="npassword" class="border" style="width: 40%"></dd>
						</dl>
						<dl class="input">
							<dt><?php 
    echo lang('new_password_again');
    ?>
</dt>
Beispiel #5
0
echo switchs($user_data['aim'], $_POST['aim']);
?>
"></dd>
							</dl>
    				</td>
    			</tr>
    			<tr>
    				<td class="form">

							<dl class="input">
								<dt><?php 
echo lang('interests');
?>
</dt>
								<dd><textarea class="border cp" name="interests" rows="10"><?php 
echo htmlspecialchars(stripslashes(switchs($user_data['interests'], $_POST['interests'])));
?>
</textarea></dd>
							</dl>
    				</td>
    			</tr>
    			<tr>
    				<td class="form">

							<dl class="input">
								<dt>&nbsp;</dt>
								<dd><input type="submit" class="button rounded" name="profile" value="submit"></dd>
							</dl>
						</form>
     				</td>
    			</tr>
Beispiel #6
0
        ?>
            <input name="post" value="submit" type="submit" class="button rounded" />
<?php 
    }
}
?>
        </td>
    </tr>
    <tr>
        <td colspan="2" width="200px;" valign="top">
            <?php 
echo lang('message');
?>
:<br />
			<textarea name="content" class="border" style="width: 99.3%; height: 200px;"><?php 
echo switchs($_POST['content'], $content);
?>
</textarea>
        </td>
    </tr>
</table>
<table border="0" cellspacing="0" cellpadding="5" class="form">
	<tr>
		<td valign="top" class="features"><?php 
echo lang('user_features');
?>
</td>
<?php 
if (($_SESSION['admin'] || $_SESSION['moderator']) && !$reply && !$post['reply']) {
    ?>
        <td valign="top" class="features"><?php 
Beispiel #7
0
/**
 * Inserts the title input into profile edit page
 * @global array
 * @global array
 */
function profile_input()
{
    global $config, $user_data;
    echo '<dl class="input">' . "\n" . '<dt>' . lang('title_c') . '</dt>' . "\n" . '<dd><input type="text" class="border cp" name="title" value="' . switchs($user_data['title'], $_POST['location']) . '"></dd>' . "\n" . '</dl>' . "\n";
}
Beispiel #8
0
            $num = '0' . $i;
        } else {
            $num = $i;
        }
        if ($day_data == $num) {
            $insert = " selected";
        } else {
            $insert = "";
        }
        echo '<option value="' . $num . '"' . $insert . '>' . $num . '</option>';
        $i++;
    }
    ?>
				</select>
				<input type="text" id="year" name="year" style="padding: 3px; width:10%;" class="border" value="<?php 
    echo switchs(field_clean($_POST['year']));
    ?>
">
			</td>
		</tr>
<?php 
}
?>

		<?php 
load_hook('registration_form');
?>
		
		<tr>
			<td class="post" colspan="2">
				<div class="title">
Beispiel #9
0
    }
}
load_hook('msg_subject_after');
?>
	</div>
	
	<div class="content">
		<?php 
echo lang('message');
?>
:<br />
<?php 
load_hook('msg_textarea_before');
?>
		<textarea name="content" id="content" class="border" style="width: 98.3%; height: 200px;"><?php 
echo switchs(field_clean(stripslashes($_POST['content'])), $content);
?>
</textarea>
<?php 
load_hook('msg_textarea_after');
?>
	</div>
	
<?php 
if (($edit || !$reply) && !$post['reply']) {
    ?>
	<div class="content">
		<label for="category">
			<?php 
    echo lang('category');
    ?>