Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Woohoo! My own website script system =)

Author
Message
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 11th Aug 2003 21:56
This is the best idea I ever had for my website. Everything is so easy to update now. It's not complete yet. It can only take 3 commands: title, text and split.

This is how it looks:
title / This is a title;
text / This is some text.;
split / ;
title / Another fine title;
text / And some more text.

The result can be found here:
http://digaw.com/DAnew/test.php

Menus are created in a similar way and attached to the page. Adding new pages have never been easier =)
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 11th Aug 2003 22:53
I added the banner command now:

banner / DAfront.jpg / tml / TML Shipping NOW;
split / ;
title / This is a title;
text / This is some text.;
split / ;
title / Another fine title;
text / And some more text.

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 11th Aug 2003 23:10
I realised that I could do it even more flexible with explode(), it can now take any number of variables and only takes 1 line of code. I'm not used to that command yet, learned myself it yesterday =) Anyway I made some changes thanks to explode so the script is cleaner:

banner // DAfront.jpg // tml // TML Shipping NOW;
split;
title // This is a title;
text // This is some text.;
split;
title // Another fine title;
text // And some more text.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 12th Aug 2003 01:16
Sounds like you've been busy lately.
Good work.



Website 50% done (May be out by mid-end August)
adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 12th Aug 2003 02:37 Edited at: 12th Aug 2003 02:38
Assuming you haven't done this already, and you fancy a rewrite, you can use ereg_replace with a regular expression to allow for url links and specific html tags ... similar to what's going on here I imagine.

I opened the case to my PC today and thought, my exhaust fan sucks.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 12th Aug 2003 19:44
Yellow:
Yeah, thanks =)

Adr:
I simply take the values and put them into the HTML code using <?=$var?>. Works wonders =)

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 13th Aug 2003 15:57
wow! it looks easy to use don't suppose you wanna give me a copy? it just converts the code you use into html right?

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Martyn Pittuck
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 13th Aug 2003 16:03
Lol, PHP is pretty easy Use MYSQL to store the data, then write code to only allow 2 storie per page and a numbering system and volla

Web Design Starting from $200. Special limited offer. MSN or Email me for more information.
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Aug 2003 16:22
Hmm, do I detect liberal use of str_replace()? Or did you use another method?

You are the th person to view this signature.
GRAVITY: I fought the law but the law won
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 13th Aug 2003 16:51
There's a link command now that makes the GoTo link I have there for testing.

Red:
It's not very hard to do, just some basic PHP and MySQL. It takes the command and explodes the values into an array and then mix that into some HTML.

Martyn:
Well, this page doesn't list anything yet. It just reads the code and makes the page. I'm gonna make commands to quary MySQL for data later.

David:
Nope. If statements and then some <?=$var?> in the HTML. I just love how well PHP blends into HTML =)

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 13th Aug 2003 18:47
web design doesn't like me! its like it deliberately doesn't want me to have a good/any website

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Kanzure
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 13th Aug 2003 20:35
Ah. Young padwan, this is what portal systems are for. Check out mine, http://www.multicode.net (ran on my portal system..its in the download sections if u want it)

It can handle many pages, users, MESSAGE BOARDS on each page, etc..Too bad I'm not working on it much anymore

David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 14th Aug 2003 14:30
Quote: "David:
Nope. If statements and then some <?=$var?> in the HTML. I just love how well PHP blends into HTML =)"


Same here. It's so easy to code.

You are the th person to view this signature.
GRAVITY: I fought the law but the law won

Login to post a reply

Server time is: 2024-11-23 16:15:59
Your offset time is: 2024-11-23 16:15:59