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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • TP Data: X=150148 Y=203643 Z=-3634
    • Hello everyone, this is ADENA L2REBORN / LU4 / MASTERWORK We also have items, epics, etc. discord - adver745645 Our prices are reasonable, so have a nice shopping and a nice day.
    • Dear friends, we are pleased to announce great news — we are launching our new bot for purchasing and renting virtual numbers for receiving SMS from any services! Are you tired of reused or resold numbers from other platforms? Try our solution! Our service allows you to receive SMS from any major popular services. The list includes more than 200 services! SMS receiving country: USA (+1). Real physical US numbers are used — never previously used on other platforms! Currently, only short-term rental is available. The rental duration for each phone number is shown when purchasing. The cost of each number is also shown next to the service before purchase. You can also receive an additional SMS for your number for the selected service (no extra charge for receiving one more SMS). To quickly find the service you need, you can use the convenient search — just type the name of the service you need and get a number for activation. Available payment methods: cryptocurrencies, bank cards, and balance transfer from our other bots. Thank you for your trust! Active links: Virtual Number Service: Go Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store through Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing goods and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during October! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends, we are pleased to announce great news — we are launching our new bot for purchasing and renting virtual numbers for receiving SMS from any services! Are you tired of reused or resold numbers from other platforms? Try our solution! Our service allows you to receive SMS from any major popular services. The list includes more than 200 services! SMS receiving country: USA (+1). Real physical US numbers are used — never previously used on other platforms! Currently, only short-term rental is available. The rental duration for each phone number is shown when purchasing. The cost of each number is also shown next to the service before purchase. You can also receive an additional SMS for your number for the selected service (no extra charge for receiving one more SMS). To quickly find the service you need, you can use the convenient search — just type the name of the service you need and get a number for activation. Available payment methods: cryptocurrencies, bank cards, and balance transfer from our other bots. Thank you for your trust! Active links: Virtual Number Service: Go Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store through Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing goods and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during October! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock