juraphotos
Wed 29 October 2008, 03:13 pm GMT +0100
Hiya
Just got a little daft problem and my brain has went a bit dead {totaly)
I am creating a simple content management syistem that can be managed and edited directly from the admins pc
without having to use the pages online admin pages on the remote server
using MS access or open office however i did run into a few minor probs with open office
To get round the oppen office probs I am creating some scripts so that I can manage my remote
website from my local server, All apears to be working just about ok
The test site can be found here its a simple image gallery based on the script but can easly adapted for classifides, blog etc
that can be remotaly managed
http://juraphotos.photofxr.co.uk/gallery/
______________________________________________________
If their is no image name stored in the DB table I would like to display a small logo
The image name is stored in the database
and is called to the page with
$query_rs_page_template = "SELECT * FROM webpages WHERE number = '$page_id'";
<img src="../images/<?php echo $row_rs_page_template['urlmainimg']; ?>.jpg" />
A simple if and else statement but as they say I carnt see the wood for the trees lol
any sergestions would be most apreciated
___________________________________________
The script is to be opensource [b][/b]
To do docs and clean up the junk
I shall upload the full script later tonight or tomorow to my server with a few notes
Many thanks
Juraphotos
Just got a little daft problem and my brain has went a bit dead {totaly)
I am creating a simple content management syistem that can be managed and edited directly from the admins pc
without having to use the pages online admin pages on the remote server
using MS access or open office however i did run into a few minor probs with open office
To get round the oppen office probs I am creating some scripts so that I can manage my remote
website from my local server, All apears to be working just about ok
The test site can be found here its a simple image gallery based on the script but can easly adapted for classifides, blog etc
that can be remotaly managed
http://juraphotos.photofxr.co.uk/gallery/
______________________________________________________
If their is no image name stored in the DB table I would like to display a small logo
The image name is stored in the database
and is called to the page with
$query_rs_page_template = "SELECT * FROM webpages WHERE number = '$page_id'";
<img src="../images/<?php echo $row_rs_page_template['urlmainimg']; ?>.jpg" />
A simple if and else statement but as they say I carnt see the wood for the trees lol
any sergestions would be most apreciated
___________________________________________
The script is to be opensource [b][/b]
To do docs and clean up the junk
I shall upload the full script later tonight or tomorow to my server with a few notes
Many thanks
Juraphotos