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
<li class="share-fb" data-ttip="Share this on Facebook"><a href="#" onclick="openwindow(\'https://www.facebook.com/sharer/sharer.php?u=' . $item->link . '\', 500, 500, \'yes\');"></a></li>
<li class="share-tw" data-ttip="Share this on Twitter"><a href="#" onclick="openwindow(\'https://twitter.com/home?status=' . $item->link . '\', 500, 500, \'yes\');"></a></li>
<li class="share-go" data-ttip="Share this on Google+"><a href="#" onclick="openwindow(\'https://plus.google.com/share?url=' . $item->link . '\', 500, 500, \'yes\');"></a></li>
<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">
Exemplo n.º 3
0
  <table>
    <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) {
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
							<!--<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';