当前位置: 首页>>代码示例>>PHP>>正文


PHP print_VE函数代码示例

本文整理汇总了PHP中print_VE函数的典型用法代码示例。如果您正苦于以下问题:PHP print_VE函数的具体用法?PHP print_VE怎么用?PHP print_VE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了print_VE函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: print_question_cats

            <?php 
print_question_cats($_POST['category_id']);
?>
        </select>
    </div>

    <div class="row">
        <span class="required" title="<?php 
echo _AT('required_field');
?>
">*</span><label for="question"><?php 
echo _AT('question');
?>
</label>
        <?php 
print_VE('question');
?>
        <textarea id="question" cols="50" rows="6" name="question"><?php 
echo htmlspecialchars(stripslashes($_POST['question']));
?>
</textarea>
    </div>
    
    <div class="row">
        <?php 
echo _AT('answer_size');
?>
<br />
        <input type="radio" name="properties" value="1" id="az1" <?php 
if ($_POST['properties'] == 1) {
    echo 'checked="checked"';
开发者ID:vicentborja,项目名称:ATutor,代码行数:31,代码来源:edit_question_long.php

示例2: htmlspecialchars

		
		<textarea id="question_<?php echo $i; ?>" cols="50" rows="2" name="question[<?php echo $i; ?>]"><?php 
		echo htmlspecialchars(stripslashes($_POST['question'][$i])); ?></textarea> 
	</div>
<?php endfor; ?>
	
	<div class="row">
		<h2><?php echo _AT('answers');?></h2>
	</div>
	<?php for ($i=0; $i<10; $i++): ?>
		<div class="row">
			<?php if ($i < 2) :?>
				<span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
			<?php endif; ?>
			<?php echo _AT('answer'); ?> <?php echo $_letters[$i]; ?>
			<?php print_VE('answer_' . $i); ?>
			<br />
			<textarea id="answer_<?php echo $i; ?>" cols="50" rows="2" name="answer[<?php echo $i; ?>]"><?php 
			echo htmlspecialchars(stripslashes($_POST['answer'][$i])); ?></textarea>
		</div>
	<?php endfor; ?>

	<div class="row buttons">
		<input type="submit" value="<?php echo _AT('save'); ?>"   name="submit" accesskey="s" />
		<input type="submit" value="<?php echo _AT('cancel'); ?>" name="cancel" />
	</div>
	</fieldset>
</div>
</form>

<?php require (AT_INCLUDE_PATH.'footer.inc.php');  ?>
开发者ID:radiocontrolled,项目名称:ATutor,代码行数:30,代码来源:edit_question_matchingdd.php

示例3: _AT

    <?php 
for ($i = 0; $i < 10; $i++) {
    ?>
        <div class="row">
            <label for="choice_<?php 
    echo $i;
    ?>
"><?php 
    echo _AT('choice');
    ?>
 <?php 
    echo $i + 1;
    ?>
</label> 
            <?php 
    print_VE('choice_' . $i);
    ?>
            <br />
            <small><input type="checkbox" name="answer[<?php 
    echo $i;
    ?>
]" id="answer_<?php 
    echo $i;
    ?>
" value="1" <?php 
    if ($_POST['answer'][$i]) {
        echo 'checked="checked"';
    }
    ?>
><label for="answer_<?php 
    echo $i;
开发者ID:genaromendezl,项目名称:ATutor,代码行数:31,代码来源:edit_question_multianswer.php

示例4: _AT

        ?>
                <span class="required" title="<?php 
        echo _AT('required_field');
        ?>
">*</span>
            <?php 
    }
    ?>
            <?php 
    echo _AT('answer');
    ?>
 <?php 
    echo $_letters[$i];
    ?>
            <?php 
    print_VE('answer_' . $i);
    ?>
            <br />
            <textarea id="answer_<?php 
    echo $i;
    ?>
" cols="50" rows="2" name="answer[<?php 
    echo $i;
    ?>
]"><?php 
    echo htmlspecialchars(stripslashes($_POST['answer'][$i]));
    ?>
</textarea>
        </div>
    <?php 
}
开发者ID:nilocesar,项目名称:ATutor,代码行数:31,代码来源:create_question_matchingdd.php

示例5: print_question_cats

		<select name="category_id" id="cats">
			<?php print_question_cats($_POST['category_id']); ?>
		</select>
	</div>

	<div class="row">
		<label for="optional_feedback"><?php echo _AT('optional_feedback'); ?></label>		
		<?php print_VE('optional_feedback'); ?>
		<br />
	
		<textarea id="optional_feedback" cols="50" rows="3" name="feedback"><?php echo htmlspecialchars($stripslashes($_POST['feedback'])); ?></textarea>
	</div>
	
	<div class="row">
		<span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('statement'); ?></label>
		<?php print_VE('question'); ?>
		<br />

		<textarea id="question" cols="50" rows="6" name="question" style="width:90%;"><?php echo htmlspecialchars($stripslashes($_POST['question'])); ?></textarea>
	</div>
	
	<div class="row">
		<?php echo _AT('answer'); ?><br />
		<input type="radio" name="answer" value="1" id="answer1" /><label for="answer1"><?php echo _AT('true'); ?></label>, 
		<input type="radio" name="answer" value="2" id="answer2" checked="checked" /><label for="answer2"><?php echo _AT('false'); ?></label>
	</div>

	<div class="row buttons">
		<input type="submit" value="<?php echo _AT('save'); ?>"   name="submit" accesskey="s" />
		<input type="submit" value="<?php echo _AT('cancel'); ?>" name="cancel" />
	</div>
开发者ID:radiocontrolled,项目名称:ATutor,代码行数:31,代码来源:create_question_tf.php

示例6: _AT

	</div>

	<div class="row">
		<span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label> 
		<?php print_VE('question'); ?>
		<textarea id="question" cols="50" rows="6" name="question" style="width:90%;"><?php 
		echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
	</div>
	
	<?php for ($i=0; $i<10; $i++): ?>
		<div class="row">
			<?php if ($i < 2): ?>
				<span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
			<?php endif; ?> <?php echo _AT('item'); ?> <?php echo ($i+1); ?>
			
			<?php print_VE('choice_' . $i); ?>
			
			<br />
	
			<textarea id="choice_<?php echo $i; ?>" cols="50" rows="2" name="choice[<?php echo $i; ?>]"><?php echo htmlspecialchars(stripslashes($_POST['choice'][$i])); ?></textarea> 
		</div>
	<?php endfor; ?>
	
	<div class="row buttons">
		<input type="submit" value="<?php echo _AT('save'); ?>"   name="submit" accesskey="s" />
		<input type="submit" value="<?php echo _AT('cancel'); ?>" name="cancel" />
	</div>
</div>
</form>

<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
开发者ID:radiocontrolled,项目名称:ATutor,代码行数:31,代码来源:create_question_ordering.php

示例7: _AT

    <textarea id="optional_feedback" cols="50" rows="3" name="feedback" placeholder="<?php 
echo _AT('feedback_placeholder');
?>
"><?php 
echo htmlspecialchars($stripslashes($_POST['feedback']));
?>
</textarea>
</div>

<div class="row">
    <label for="remedial_content"><?php 
echo _AT('remedial_content');
?>
</label>
    <?php 
print_VE('remedial_content');
?>
    <textarea id="remedial_content" cols="50" rows="6" name="remedial_content" placeholder="<?php 
echo _AT('remedial_content_placeholder');
?>
"><?php 
echo htmlspecialchars($stripslashes($_POST['remedial_content']));
?>
</textarea>
    
<div class="row buttons">
    <input type="submit" value="<?php 
echo _AT('save');
?>
"   name="submit" accesskey="s" />
    <input type="submit" value="<?php 
开发者ID:genaromendezl,项目名称:ATutor,代码行数:31,代码来源:question_footer.php


注:本文中的print_VE函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。