예제 #1
0
파일: crud_table.php 프로젝트: nemis/Fm
    echo '<tr>';
    echo '<td><input type="checkbox" name="ids[' . $row->id . ']"' . ((isset($_GET['ids'][$row->id]) and $_GET['ids'][$row->id] == 'on') ? ' checked="checked"' : '') . '/></td>';
    foreach ($columns as $column => $name) {
        echo '<td onclick="document.location = \'' . Router::createUrl(array('id' => $row->id)) . '\'">' . $row->{$column} . '</td>';
    }
    echo '</tr>';
}
?>
</table>
<?php 
if ($countAll > 0) {
    ?>
<a href="javascript:document.getElementById('crud-form').submit()"><?php 
    echo Dict::word('delete marked');
    ?>
</a>
|
<?php 
}
echo Dict::word('total'), ': ', $countAll, ' ';
?>

<?php 
if ($countAll > 0) {
    ?>
| <?php 
    echo $pagination;
}
?>
</div>
</form>
예제 #2
0
파일: staticeditor.php 프로젝트: nemis/Fm
<form method="post" action="">
<div>
<label for="name"><?php 
echo Dict::word('Name');
?>
:</label><br/>
<input type="text" class="wide" value="" name="name"/>
<br/>
<br/>
<textarea name="body" id="static-body" class="static-body">
</textarea>
<script type="text/javascript" src="<?php 
echo Router::baseUrl();
?>
public/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
	CKEDITOR.replaceAll('static-body');
</script>
<div class="right">
	<input type="submit" class="submit" value="<?php 
echo Dict::word('Save');
?>
"/>
</div>
</div>
</form>
예제 #3
0
파일: pagination.php 프로젝트: nemis/Fm
    echo $total_pages;
    ?>
</a>

	<?php 
}
?>


	<?php 
if ($next_page) {
    ?>
		<a href="<?php 
    echo str_replace('{page}', $next_page, $url);
    ?>
"><?php 
    echo Dict::word('next');
    ?>
&nbsp;&raquo;</a>
	<?php 
} else {
    ?>
		<?php 
    echo Dict::word('next');
    ?>
&nbsp;&raquo;
	<?php 
}
?>

</span>