Jump to content

[gr]html question


Recommended Posts

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..))

 

 

 

 

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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/ :)

Link to comment
Share on other sites

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

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

 

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Φίλε εσύ θες 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??

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

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

Link to comment
Share on other sites

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

    • CLExt Re-Captcha Anti-Bot System    
    • OUR OFFICIAL WEBSITE / FORUM - MILLENNIUM-HOOK.NET CHEAT DESCRIPTION: Our cheat for Valorant is the best and safest solution for this game. The cheat supports all the most necessary functions such as aimbot. We also support esp, since our esp (visual) is not displayed in screenshots or videos, for example when streaming. Therefore, we cannot be detected by the Riot Vanguard anti-cheat. We offer you the best value for money cheats on the market for this game. SUPPORTED ANTI-CHEATS: (read more on official website) - Riot Vanguard AC: Undetected & Safe Our Valorant cheat has a limited number of slots to ensure greater product security! (Available slots check on official website) FEATURES: AIMBOT: - Bone (Head, Neck, Body, Arms, Stomach) - Customizable Smooth - Customizable Fov Size / Fov Circle - Anti Shake Aim - Aimkey - Auto Shot - RCS ESP: - ESP Players - Player Corpse - Player Box - Filled Box - Line ESP - Player Skeleton - Player Health - Distance ESP MISC: - Online config - No Recoil - Radar (A Separate Radar that shows locations of the enemies) REQUIREMENTS: - Included HWID Spoofer: Yes - Stream Bypass: Yes - Supported game modes: Windowed, Borderless - Supported CPU: Intel & AMD - Supported OS: Windows 10 (1903,1909,2004,20H2,21H1, 22H2), Windows 11 (All version). Supported OS change and are added periodically. More check on official website. SCREENSHOTS: - Check on official website.
    • Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...