コード例 #1
0
ファイル: collectionRename.php プロジェクト: boosen/rockmongo
?>
"/>
<?php 
hm("oldname");
?>
:<br/>
<input type="text" value="<?php 
h_escape($realName);
?>
" disabled="disabled"/><br/>
<?php 
hm("newname");
?>
:<br/>
<input type="text" name="newname" value="<?php 
h_escape(x("newname"));
?>
" autofocus="autofocus"/><br/>
<?php 
hm("dropifexists");
?>
<br/>
<input type="checkbox" name="remove_exists" value="1" <?php 
if (x("remove_exists")) {
    ?>
checked="checked"<?php 
}
?>
 /><br/>
<input type="submit" value="<?php 
hm("save");
コード例 #2
0
ファイル: index.php プロジェクト: buraka1/mlazarov-rockmongo
?>
" /> <select name="order[]"><option value="asc" <?php 
if (rock_array_get(x("order"), 2) == "asc") {
    ?>
selected="selected"<?php 
}
?>
>ASC</option><option value="desc" <?php 
if (rock_array_get(x("order"), 2) == "desc") {
    ?>
selected="selected"<?php 
}
?>
>DESC</option></select></p>
			<p><input type="text" name="field[]" value="<?php 
h_escape(rock_array_get(x("field"), 3));
?>
" /> <select name="order[]"><option value="asc" <?php 
if (rock_array_get(x("order"), 3) == "asc") {
    ?>
selected="selected"<?php 
}
?>
>ASC</option><option value="desc" <?php 
if (rock_array_get(x("order"), 3) == "desc") {
    ?>
selected="selected"<?php 
}
?>
>DESC</option></select> </p>
		</td>
コード例 #3
0
    ?>
selected="selected"<?php 
}
?>
>Array</option>
<option value="json" <?php 
if ($last_format == "json") {
    ?>
selected="selected"<?php 
}
?>
>JSON</option>
</select><br/>
_id:<br/>
<input type="text" readonly value="<?php 
h_escape($row["_id"]);
?>
" size="72"/>
<br/>
<?php 
hm("data");
?>
:<br/>
<textarea rows="35" cols="70" name="data" id="row_data"><?php 
h($data);
?>
</textarea><br/>
<input type="submit" value="<?php 
hm("save");
?>
"/> <input type="button" value="<?php 
コード例 #4
0
	<?php 
if (isset($error)) {
    ?>
<p class="error"><?php 
    h($error);
    ?>
</p><?php 
}
?>
	<form method="post">
	<?php 
hm("username");
?>
:<br/>
	<input type="text" name="username" value="<?php 
h_escape(x("username"));
?>
"/><br/>
	<?php 
hm("password");
?>
:<br/>
	<input type="password" name="password"/><br/>
	<?php 
hm("confirm_pass");
?>
:<br/>
	<input type="password" name="password2"/><br/>
	<?php 
hm("readonly");
?>
コード例 #5
0
ファイル: createDatabase.php プロジェクト: boosen/rockmongo
    ?>
</p>
<?php 
}
?>

<?php 
if (!empty($_POST)) {
    ?>
<script language="javascript">
window.parent.frames["left"].location.reload();
</script>
<?php 
}
?>

<form method="post">
<?php 
hm("name");
?>
:<br/>
<input type="text" name="name" value="<?php 
h_escape(x("name"));
?>
" autofocus="autofocus" /><br/>
<input type="submit" value="<?php 
hm("create");
?>
" />
</form>