예제 #1
0
    ?>
</a>
		<a href="<?php 
    echo Scaffold::Url(array('page' => $pageCount));
    ?>
"><?php 
    echo $pageCount;
    ?>
</a>

	<?php 
}
?>


	<?php 
if ($next) {
    ?>
		<a href="<?php 
    echo Scaffold::Url(array('page' => $next));
    ?>
">next&nbsp;&raquo;</a>
	<?php 
} else {
    ?>
		next&nbsp;&raquo;
	<?php 
}
?>

</p>
예제 #2
0
파일: list.php 프로젝트: eugeniy/scaffold
            echo '<a href="' . Scaffold::Url(array('table' => $fields[$key]['parent'], 'action' => 'edit', 'id' => $field)) . "\">{$parents[$key][$field]}</a>";
        } else {
            echo $field;
        }
        ?>
</td>
<?php 
    }
    ?>
 
<td><a href="<?php 
    echo Scaffold::Url(array('action' => 'edit', 'id' => $row[$primary]));
    ?>
">Edit</a></td>
<td><a href="<?php 
    echo Scaffold::Url(array('action' => 'delete', 'id' => $row[$primary]));
    ?>
">Delete</a></td>
 
</tr>
<?php 
}
?>
 
</tbody>
 
</table>
 
<?php 
echo $this->pagination;
?>