Example #1
0
      // -->
      </script>
<hr class="hidden" />
<div id="write_form" class="subsections">
<form method="post" action="index.php?n=account&sub=pms&action=add" name="mutliact" class="clearfix" OnSubmit="if(!this.owner.value || !this.title.value)return false;">
    <a name="ulist" href="#ulist" onclick="loaduserlist();return false;" class="mediumsize"><b><?php echo $lang['list_users']?></b></a>
        <div id="ulist_cont"></div>
    <p>
        <label for="owner"><?php echo $lang['post_for'];?> (max 20):</label><br/>
        <input type="text" name="owner" id="owner" value="<?php echo$content['sender'];?>" size="50" maxlength="80" class="input_text input_large" />
        </p>
    <p>
        <label for="title"><?php echo $lang['post_subj'];?> (max 80):</label><br/>
        <input type="text" name="title" id="title" value="<?php echo $content['subject'];?>" size="50" maxlength="80" class="input_text input_large" />
        </p>
    <?php write_form_tool(); ?>
        <div id="input_block">
            <textarea id="input_comment" name="message"><?php echo $content['message'];?></textarea><br/>
            <input value="<?php echo $lang['editor_preview'];?>" type="button" id="preview_do">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" value="<?php echo $lang['editor_clear'];?>">
        </div>
        <div id="preview_block" style="display: none;background:none;">
            <div class="editor" id="input_preview"></div>
            <input class="button" id="preview_back" value="<?php echo $lang['editor_backtoedit']?>" type="button">
        </div>
        <input type="submit" value="<?php echo $lang['editor_send'];?>" class="input_btn_big" />
</form>
</div>
<?php } ?>
Example #2
0
<br clear="all" />
<?php 
    if ($user['id'] > 0 && $this_topic['show_qr'] === true && $user['g_reply_other_topics'] == 1 && $this_topic['closed'] != 1) {
        ?>
   
    <div id="write_form" class="subsections">
    <h3 style="color: #fff;padding-left: 10px;"> <?php 
        echo $lang['smtgtosay'];
        ?>
</h3>
    <form class="clearfix" method="post" action="<?php 
        echo $this_topic['linktopostreply'];
        ?>
" enctype="multipart/form-data">
        <?php 
        write_form_tool();
        ?>
        <div id="input_block">
            <label for="input_comment">
            <textarea id="input_comment" name="text"></textarea>
            </label>
            <input class="input_btn_big" value="<?php 
        echo $lang['editor_preview'];
        ?>
" type="button" id="preview_do">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input class="intput_btn_medium" type="reset" value="<?php 
        echo $lang['editor_clear'];
        ?>
">
        </div>