forked from 4ducky/4ducky
Move the original PHP site into legacy/
The PHP sources, templates and old jQuery-based scripts move unchanged into legacy/ for reference. Shared assets (media/, images/, favicon.ico, the default avatar) stay at the repository root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php include( $templates.'header.tpl.php' ); ?>
|
||||
|
||||
<br/>
|
||||
|
||||
<?php
|
||||
require_once( 'lib/config.php' );
|
||||
require_once( 'lib/users.php' );
|
||||
require_once( 'lib/db.php' );
|
||||
|
||||
$fame = DB::query("SELECT *, UNIX_TIMESTAMP(logged) AS loggedTS from pl_images WHERE fame=1 ORDER BY logged DESC");
|
||||
|
||||
foreach( array_keys($fame) as $k){
|
||||
$uploader = DB::getRow("SELECT * from pl_users WHERE id=:1",$fame[$k]["user"]);
|
||||
?>
|
||||
<div align="center">
|
||||
|
||||
<a href="<?php echo Config::$absolutePath."all/view/".$fame[$k]['keyword']; ?>"><img src="<?php echo(Config::$absolutePath."data/thumbs/".date("Y/m",$fame[$k]["loggedTS"])."/192x192/".$fame[$k]["thumb"]); ?>" align="top" style="float:left;margin-right:5px;"></a>
|
||||
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
<?php include( $templates.'footer.tpl.php' ); ?>
|
||||
Reference in New Issue
Block a user