Junior Spellweaver
- Joined
- Feb 6, 2013
- Messages
- 196
- Reaction score
- 25
Hi,
I just wanted to release something small you can use for you CMS when if you are using Arcturus Emulator.
When you take a picture and click "publish" like this
The image will be stored in the table "camera_web".
you can use this query on any page in your CMS to get a nice "instagram".
I didn't want to publish the whole .php file because it won't fit your skin.
However, this is the result
You get the name and the image, pretty simple but still pretty nice.
I just wanted to release something small you can use for you CMS when if you are using Arcturus Emulator.
When you take a picture and click "publish" like this
The image will be stored in the table "camera_web".
you can use this query on any page in your CMS to get a nice "instagram".
PHP:
<?php $query = mysql_query('Select `users`.`username`, `camera_web`.`url` from `camera_web` left join `users` on `users`.`id` = `camera_web`.`user_id` order by `camera_web`.`id` desc limit 50'); while($row = mysql_fetch_array($query)){ echo '<b>'.$row['username'].'</b><br><img src="'.$row['url'].'" valign="middle" /><b><hr></b> <b>'.$row['user_id'].'</b> <i>'.$row['description'].'</i><br />'; } ?>
However, this is the result
You get the name and the image, pretty simple but still pretty nice.
Attachments
You must be registered for see attachments list