Jump to content

Recommended Posts

Posted

8elw na rwthsw ama ginete na kanw ena site kapws etsi..

 

ph exw ena file index me ola ta boards(full code) kai ka8e 8wra pou allazeis page na allazei mono ena meros dld new file ala xwreis ola ta board, me liga logia na einai ena index me full code kai ta upoloipa files na exoun grammeno mono auto pou tha alazeis..

 

ph ama 8elw na kanw ena new borard meta prepei na kanw edit as poume 20 files :happyforever: :happyforever: ((kati san ta forum..))

 

 

 

 

Posted

Ginetai, alla gia poio logo na exei$ 1 index page kai na psaxnesai san -beep-as?

Ta extra page gia kapoious logous ta ftiaxnoun.

 

Sthn ousia, ola ta pages einai index, apla ta kaneis copy/paste/rename.

 

PS: Elpizw na katalava ti les

nai katalava..

 

tespa ama 3erete apla dwste mou ena paradeigma h kanena site pou na leei pos na to kanw :)

Posted

Ama egrafes pio ka8ara 8a katalavename kiolas...

 

Ti enweis , ena meros na einai dynamic i na provalei ales selides?

Posted

Ama egrafes pio ka8ara 8a katalavename kiolas...

 

Ti enweis , ena meros na einai dynamic i na provalei ales selides?

 

ph:

 

 

                  Home | Page | Page2 |  Page3 | Page 4

 

board:                                                                                            board:

board:              (home text)                                                            board:

board:                    (home text)                                                      board:

board:                                                                                            board:

board:                                                                                            board:

board:                        (home text)                                                  board:

board:                                                                                            board:

board:                                                                                            board:

 

 

twra otan tha pathsw page2

 

8elw na allazei mono auto to meros (home text) kai ta upolipa na einai apo to home xoreis na kano copy paste oti exei to index kai na to valw kai sto page1/2/3/ :)

Posted

ελα το 'χω...φανταστείτε το σαν το "clipping mask" του Ps, το ιδιο ακριβως πραγμα θελει αλλα με σελιδες που θα αλλαζουν.

Και αυτη ειναι η λυση.

 

Sthn ousia, ola ta pages einai index, apla ta kaneis copy/paste/rename.

Posted

Φίλε εσύ θες dynamic site. Μια λύση που σου πρωτείνω είναι η asp. Κάθε κομμάτι τις σελίδα σου που θες να είναι shared πάρε το code και χώστο σε ξεχωριστό αρχείο, έπειτα φτιάξε ενα SiteLayout που θα περιέχει μέσα τα shared σου και στο κομμάτι που θες να είναι dynamic βάλε ενα RenderBody(). Έπειτα σε κάθε σελίδα που θα φτίαχνεις θα επιλέγεις για SiteLayout αυτό που έχεις φτιάξει πιο πρίν, οπότε σε κάθε νέα σελίδα θα βάζεις απο code μόνο αυτό που θες να είναι Dynamic. Είναι εύκολος τρόπος και μπορείς χωρίς αρκετές γνώσεις να τον πραγματοποιήσεις με razor syntax (cshtlm).

Posted

Φίλε εσύ θες dynamic site. Μια λύση που σου πρωτείνω είναι η asp. Κάθε κομμάτι τις σελίδα σου που θες να είναι shared πάρε το code και χώστο σε ξεχωριστό αρχείο, έπειτα φτιάξε ενα SiteLayout που θα περιέχει μέσα τα shared σου και στο κομμάτι που θες να είναι dynamic βάλε ενα RenderBody(). Έπειτα σε κάθε σελίδα που θα φτίαχνεις θα επιλέγεις για SiteLayout αυτό που έχεις φτιάξει πιο πρίν, οπότε σε κάθε νέα σελίδα θα βάζεις απο code μόνο αυτό που θες να είναι Dynamic. Είναι εύκολος τρόπος και μπορείς χωρίς αρκετές γνώσεις να τον πραγματοποιήσεις με razor syntax (cshtlm).

 

<!DOCTYPE HTML>
<html>

<head>
  <title>home</title>
</head>

<body>
<div id="header"><h1>Home</h1></div>
<div id="menu">
<a href=index.php">Home</a>
<a href=index.php?p=ab">Page 1</a>
<a href=index.php?p=co">Page 2</a>
<a href=index.php?p=news">Page 3</a>
</div>
  
<div id="content">
     <?php
 $pages_dir = 'pages';

 if (!empty($_GET['p'])) {
    $pages = scandir($pages_dir, 0);
	unset($pages[0], $pages[1]);

	$p = $_GET['p'];

	if (in_array($p.'.inc.php', $pages)) {
	   include($pages_dir.'/'.$p.'.inc.php');
	} else {
	  echo 'Sorry, page not found.';
	}
	} else {
	  include($pages_dir.'/home.inc.php');
	}
 ?>
</div>
  
</body>
</html>

 

 

o sigkekrhmenos code einai kalos h mou proteinete tpt kalutero??

Posted

Γενικά όλοι οι οδηγοί που υπάρχουν κάπως έτσι είναι με μερικές μικροαλλαγές. Εγώ θα σου έλεγα να το κρατήσεις έτσι σαν menu.php και να το κάνεις include στο index.php σου, μέσα στο index.php κάνε include και head,header,footer,slider ότι θες και στην θέση του main content βάλε το $page. Βέβαια το ίδιο μπορείς να κάνεις με το header, footer κτλπ, μπορεί να μην το χρειάζεσε αλλά για μελλοντική χρήση. Έτσι δεν θα έχεις ενα δυναμικό menu μόνο αλλά όλο το site!

  • 4 weeks later...
Posted

μεγαλε καταλαβα τι ακριβως ψαχνεις ... γινεται και με html ... θες να φτιαξεις μια ιστοσελιδα με πλαισια ... χαχαχα το ειχα εργασια στο λυκειο αυτο θυμαμαι , κανε μου pm να σου στειλω την εργασια (ειναι μια ιστοσελιδα σε html) :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello guys.Im looking for a simple autoclicker that works for servers with anticheat
    • Thank you for the reply. I know that this issue is due to L2 being so old. I was just wondering if there was an external way to fix the UI scaling. Like a patch or some settings.
    • Bro the game is so old it doesn't have a native option to scale the UI like in modern MMOs
    • Dear players, From April 19 to April 27 inc., the Bonus Start event will be active. It’s designed to help new and low-level characters get started more easily.   All characters that meet one of the following conditions: — created less than 3 days ago (regardless of level), — currently level 20 or below, — created during the event period, will receive upon login: — 10 sets of buff scrolls (phys or mage, depending on class), — 10 packs of +50% Drop/Spoil runes (2 hours each), — 10 packs of +50% Exp runes (2 hours each). Characters between level 21 and 30 will receive upon login: — 6 sets of buff scrolls, — 6 packs of +50% Drop/Spoil runes (2h each), — 6 packs of +50% Exp runes (2h each).   Event items will be removed approx. 09.05.2025 Server rates will be increased to x2.25. Take this chance to start your journey with ease or bring an old hero back into the fight — it’s the perfect time to test your strength! Open Beta Test is started!  Helper cats are waiting in towns — talk to them to receive the necessary equipment and level up your character. Siege Schedule:  - April 13 at 16:00 (GMT+2) – Innadrile Castle - April 14 at 20:00 (GMT+2) – Bandit Stronghold - April 15 at 20:00 (GMT+2) – Devastated Castle 📌 During the OBT, players who report bugs will receive CoL:   - 1 CoL for each reported staticmeshes bug (e.g., walking through textures, stairs, etc.) - 2 CoL or more for server-related issues (depending on severity) You can report bugs on the forum. The Open Beta Test will run approximately until April 15 at 23:00 (GMT+2). Your activity and feedback will help us improve the game.   Download links: Download client | Download updater 
    • begin if (user.dead) then begin delay(555); Engine.GoHome(rtCastle); print('User dead, going to castle..') end; end.  
  • Topics

×
×
  • Create New...