Exemplo n.º 1
0
			<td><?php 
    echo $auth_code->name;
    ?>
</td>
			<td><a href="edit.php?id=<?php 
    echo $auth_code->id;
    ?>
"><img src="/images/admin/button_edit.jpg" alt="Edit" id="edit_button" /></a></td>
			<td><a href="delete.php?id=<?php 
    echo $auth_code->id;
    ?>
" class="confirm"><img src="/images/admin/button_delete.jpg" alt="Delete" id="delete_button" /></a></td>
    </tr>
    <?php 
}
?>
  </table>
</div>

<div id="prevnext">
  <?php 
echo prev_page($auth_codes, '<img src="/images/admin/button_previous.jpg" alt="previous" id="button_previous" />');
?>
  <?php 
echo next_page($auth_codes, '<img src="/images/admin/button_next.jpg" alt="next" id="button_next" />');
?>
</div>

<?
include('../inc/footer.php'); 
?>
Exemplo n.º 2
0
    //test of zenpage searches
    if ($numpages > 0 && ZP_PAGES_ENABLED) {
        $number_to_show = 5;
        $c = 0;
        ?>
							<hr />
							<h3><?php 
        printf(gettext('Pages (%s)'), $numpages);
        ?>
 <small><?php 
        printZDSearchShowMoreLink("pages", $number_to_show);
        ?>
</small></h3>
							<ul class="searchresults">
								<?php 
        while (next_page()) {
            $c++;
            ?>
									<li<?php 
            printZDToggleClass('pages', $c, $number_to_show);
            ?>
>
										<h4><?php 
            printPageURL();
            ?>
</h4>
										<p class="zenpageexcerpt"><?php 
            echo shortenContent(getBare(getPageContent()), 80, getOption("zenpage_textshorten_indicator"));
            ?>
</p>
									</li>
Exemplo n.º 3
0
<li class="share-li" data-ttip="Share this on Linkedin"><a href="#" onclick="openwindow(\'https://www.linkedin.com/shareArticle?mini=true&amp;url=' . $item->link . '&amp;title=' . $item->name . '&amp;summary=&amp;source=\', 500, 500, \'yes\');"></a></li>
<li class="share-rss" data-ttip="RSS Feed"><a href="' . tlink('plugin/rss2.xml', 'store=' . $item->ID) . '"></a></li>
</ul>

<input type="text" value="' . $item->link . '" onclick="$(this).select();" />

</div>

</div>

</article>';
    }
    if (($pp = prev_page()) || next_page()) {
        echo '<div class="pagination">';
        echo $pp ? '<span><a href="' . $pp . '" class="btn">← Prev</a></span>' : '<span class="btn" style="opacity: 0.2;">← Prev</span>';
        echo ($np = next_page()) ? '<span><a href="' . $np . '" class="btn">Next →</a></span>' : '<span class="btn" style="opacity: 0.2;">Next →</span>';
        echo '<span>Page ' . page() . ' / ' . pages() . '</span>';
        echo '</div>';
    }
} else {
    echo '<div style="text-align:center;">Sorry, no stores/brands yet :(</div>';
}
?>

</div>

<div class="right">

<?php 
show_widgets('right');
?>
Exemplo n.º 4
0
        ?>
');">删除图片</a></li>
							</ul>
						</div>
					
					</div>
					<?php 
    }
}
?>
			
			<div class="clear"></div>
		</div><!-- #x-photo -->
		
		<div id="navigation">
			<?php 
prev_page($paged, $qpage['pages'], 'list.php');
next_page($paged, $qpage['pages'], 'list.php');
?>
			<div class="clear"></div>
		</div>
	
		<div class="x-shadow l-shadow"></div>
		<div class="x-shadow r-shadow"></div>
	</div><!-- #content -->
	
<?php 
/* 
 * @ $_GET['SCRIPT_LOAD'] => the script you want to load!
 */
require_once ABSPATH . 'includes/template/footer.php';
Exemplo n.º 5
0
if (function_exists('printGoogleMap')) {
    ?>
<div class="section"><?php 
    setOption('gmap_width', 550, false);
    printGoogleMap();
    ?>
</div><?php 
}
?>

		<?php 
if ($_zp_page == 1) {
    //test of zenpage searches
    if ($numpages > 0) {
        $zpc = 0;
        while ($zpc < $zpmin_zpsearchcount && next_page()) {
            $zpc++;
            $c++;
            ?>
					<div class="news-truncate">
						<h2><?php 
            printPageTitlelink();
            ?>
</h2>
						<p><?php 
            echo html_encodeTagged(shortenContent(strip_tags(getPageContent()), 200, getOption("zenpage_textshorten_indicator")));
            ?>
</p>
					</div>
					<?php 
        }
Exemplo n.º 6
0
    <tr>
      <th>Name</th>
    </tr>
    <?php foreach ($files[$pg] as $f) {?>
    <tr>
      <td><a href="<?=$f['path']?>" target="_blank"><?=$f['name']?></a></td>
			<td><a href="#"><img src="/images/admin/button_copy.jpg" alt="Copy Path" class="copy_button" /></a></td>
			<td><a href="delete.php?id=<?=$f['id']?>"><img src="/images/admin/button_delete.jpg" alt="Delete" class="delete_button confirm" /></a></td>
    </tr>
    <? } ?>
  </table>
</div>

<div id="prevnext">
  <?=prev_page($files, '<img src="/images/admin/button_previous.jpg" alt="previous" id="button_previous" />')?>
  <?=next_page($files, '<img src="/images/admin/button_next.jpg" alt="next" id="button_next" />')?>
</div>

<script type="text/javascript" src="/inc/zeroclipboard/ZeroClipboard.js"></script>
<script type="text/javascript" charset="utf-8">
  $(function() {
    ZeroClipboard.setMoviePath( '/inc/zeroclipboard/ZeroClipboard.swf' );
    var clip = new ZeroClipboard.Client();
    clip.setHandCursor( true );
    clip.addEventListener( 'onComplete', function ( client, text ) {
      alert('The path for this file has been copied to your clipboard.');
    });
		$('.copy_button').mouseover( function() {
			clip.setText( $(this).closest('td').prev().find('a').attr('href') );
			if (clip.div) {
				clip.receiveEvent('mouseout', null);
Exemplo n.º 7
0
							<!--<a class="p-like" href="#">LIKE</a>-->
						</div>
					</div><!-- #photo-<?php 
        echo $photo->uid;
        ?>
 -->
					<?php 
    }
}
?>
			
			<div class="clear"></div>
		</div><!-- #x-photo -->
		
		<div id="navigation">
			<?php 
prev_page($paged, $qpage['pages']);
next_page($paged, $qpage['pages']);
?>
			<div class="clear"></div>
		</div>
	
		<div class="x-shadow l-shadow"></div>
		<div class="x-shadow r-shadow"></div>
	</div><!-- #content -->
	
<?php 
/* 
 * @ $_GET['SCRIPT_LOAD'] => the script you want to load!
 */
require_once ABSPATH . 'includes/template/footer.php';