if (isset($_REQUEST["page"])) {
    $page = $_REQUEST["page"];
} else {
    $page = 1;
}
?>

<html>
<head>
	<?php 
common_styles();
?>
</head>
<body>
	<?php 
login_bar();
?>
	<div class="container">
		<div class="span-24">
			<h2>Your Documents</h2>
		</div>
		<div class="span-24">
			<table>
				<?php 
// Get Documents from RightSignature filtered by given tags, with no search query , and specified page #
$response = $rightsignature->getDocuments($tags, NULL, $page);
$xml = simplexml_load_string($response);
// Gets current page from xml
$currentPage = (int) $xml->{'current-page'};
// Gets total pages from xml
$totalPages = (int) $xml->{'total-pages'};
Exemple #2
0
<div id="wrap">
    <div class="container">
        
        <div class="resize"></div>
        
        <!-- #header -->
        <div id="header" class="sixteen columns clearfix">
            <div class="inner">
            	<div id="loginbar" class="container-inline">
    			<?php 
print login_bar();
?>
    			</div>
                <?php 
if ($logo) {
    ?>
                  <a href="<?php 
    print $front_page;
    ?>
" title="<?php 
    print t('Home');
    ?>
" rel="home" id="logo">
                    <img src="<?php 
    print $logo;
    ?>
" alt="<?php 
    print t('Home');
    ?>
" />
                  </a>