Revize 138
Přidáno uživatelem Michal Kliment před více než 15 roky(ů)
freenetis/trunk/kohana/application/views/members_registration.php | ||
---|---|---|
<h2><?php echo url_lang::lang('texts.Administration of members registrations') ?></h2><br />
|
||
|
||
|
||
|
||
<?php echo form::open(url_lang::base().'members/registration') ?>
|
||
<input type="hidden" name="limit_results" value="<?php echo $limit_results ?>">
|
||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||
<table class="extended" cellspacing="0">
|
||
<tr>
|
||
<th>
|
||
<?php echo 'ID' ?>
|
||
</th>
|
||
<th>
|
||
<?php echo url_lang::lang('texts.Registration') . '?' ?>
|
||
</th>
|
||
<th>
|
||
<?php echo url_lang::lang('texts.Members name') ?>
|
||
</th>
|
||
<th>
|
||
<?php echo url_lang::lang('texts.Street') ?>
|
||
</th>
|
||
<th>
|
||
<?php echo url_lang::lang('texts.Street number') ?>
|
||
</th>
|
||
<th>
|
||
<?php echo url_lang::lang('texts.Town') ?>
|
||
</th>
|
||
</tr>
|
||
<?php foreach ($members as $member):?>
|
||
<tr>
|
||
<input type="hidden" name="ids[]" value="<?php echo $member->id ?>">
|
||
<td><?php echo $member->id; ?></td>
|
||
<td><input type="checkbox" name="registrations[<?php echo $member->id ?>]" value="yes" <?php if($member->registration==1) echo 'checked' ?>></td>
|
||
<td><?php echo $member->name; ?></td>
|
||
<td><?php echo $member->street; ?></td>
|
||
<td><?php echo $member->street_number; ?></td>
|
||
<td><?php echo $member->town; ?></td>
|
||
</tr>
|
||
<?php endforeach; ?>
|
||
<tr>
|
||
<td>
|
||
</td>
|
||
<td colspan="6">
|
||
<input id="contactsubmit" type="submit" value="<?php echo url_lang::lang('texts.Save changes') ?>" name="registrationsubmit" />
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<?php echo form::close() ?>
|
||
|
||
<?php
|
||
|
||
for($i=1;$i<=$max_page;$i++)
|
||
{
|
||
echo '<a href="'.url_lang::base().'members/registration/'.$limit_results.'/'.$i.'">'.$i.'</a> ';
|
||
}
|
||
|
||
?>
|
||
|
Také k dispozici: Unified diff
Zapomnel jsem na view.