Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
CMS za site

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Garfield



Joined: 10 Sep 2003
Posts: 82
Location: Bjelovar

PostPosted: 17.05.2004 00:43    Post subject: CMS za site Add user to your forum ignore list Reply with quote

Ustvari netreba mi CMS jer vecinu stvari radim preko foruma. Treba mi jedino stvar da imam osnovni deisgn te da se iz tog designa te index.php filea vuce sve ostalo. Znaci totalno sam dumbass za .php i jedino znam da mi treba nesto kao index.php?view=news ili downloads.php?view=zabava.

Imam znaci par osnovnih kategorija iz kojih bi htio vuci sve ostalo, isto tako zelio bih vuci design iz jednog filea da se ne zajebavam sa includanjem menua, newsa i svega. Ako tko ima kakav dobar tutorial ili savjet oko ovoga, slobodno napisite jer sam danas zgotovio design za site.

_________________
My software doesn`t have bugs, it just produces random features.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
smasher



Joined: 10 Jan 2004
Posts: 229
Location: Zaprešić

PostPosted: 01.06.2004 22:54    Post subject: Add user to your forum ignore list Reply with quote

imaš ovaj link www.moj-site.com/index.php?kategorija=novosti

$news = $_REQUEST['kategorija'];



znači u varijablu $news postavljaš vrijednost koja se nalazi pod kategorija.
u ovom slučaju vrijednost varijable $news biti će novosti.

kad to imaš možeš si napraviti više funkcija koje zoveš ovisno o kategoriij koju imaš...

_________________
http://3DHR.net - Srce hrvatskih 3d artista
http://www.Rhino3DHelp.com
Back to top
View user's profile Send private message Visit poster's website
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 02.06.2004 00:00    Post subject: Re: CMS za site Add user to your forum ignore list Reply with quote

Garfield wrote:
zajebavam

admin, moze filter ?

www.moj-site.com/index.php?kategorija=novosti
ko sto je smasher napisao -
Code:

$kategorija = $_GET['kategorija'];

i recimo slozis si layout, i samo stavis tamo gdje bi ti trebao ici content na sajtu
Code:

$file = $kategorija.'.php';
require ($file);


i to ti je najjednostavnije
samo si napravis fajlove koje inkludas i - viola..

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group