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

    • I’ve seen tools like Find Person Name by Photo come in handy for creators who want to understand their audience better or spot fake accounts trying to piggyback on their growth. Pairing something like that with a solid SMM panel can make your workflow feel way smoother, especially if you're trying to grow without getting tangled in guesswork.
    • Join our discord: https://www.lineage2.cz/discord  
    • You should buy it then I’ll make a discount  
    • Hi everyone,   In 2014, I completely stepped away from developing L2 servers and doing L2J-related work. Since then, I’ve only opened this server about once a year and helped a few servers and individuals for free. I haven’t taken on any paid L2J work since then.   LINEAGE2.GOLD is a project that has reached about Season 6. The first season launched at the end of 2020 and was a fully rebuilt Gold-style server on the Classic client (protocol 110). It featured many custom systems and enhancements. After several seasons, I decided to abandon the Mobius-based project and move to Lucera, as my goal was to get as close as possible to Interlude PTS behavior while still staying on the L2J platform.   The current project was once again completely rebuilt, this time on the Essence client (protocol 306), and is based on Lucera. Because of that, acquiring a license from Deazer is required.   My Lucera extender includes, but is not limited to: Formulas.java Basic anti-bot detection, which proved quite effective, we caught most Adrenaline users using relatively simple server-side logic, logged them, and took staff action. Simple admin account lookup commands based on IP, HWID, and similar identifiers. In-game Captcha via https://lineage2.gold/code, protected by Cloudflare, including admin commands for blacklisting based on aggression levels and whitelisting. Additional admin tools such as Auto-Play status checks, Enchanted Hero Weapon live sync, force add/remove clans from castle sieges, item listeners for live item monitoring, and more. A fully rewritten Auto-Play system with support for ExAutoPlaySetting, while still using the Auto-Play UI wheel, featuring: Debuff Efficiency Party Leader Assist Respectful Hunting Healer AI Target Mode Range Mode Summoner buff support Dwarf mechanics Reworked EffectDispelEffects to restore buffs after Cancellation. Raid Bomb item support. Reworked CronZoneSwitcher. Prime Time Raid Respawn Service. Community Board features such as Top rankings and RB/Epic status. Custom systems for Noblesse, Subclasses, support-class rewards, and much more.   Depending on the deal, the project can include: The lineage2.gold domain The website built on the Laravel PHP framework The server’s Discord Client Interface source Server files and extender source The server database (excluding private data such as emails and passwords)   I’m primarily looking for a serious team to continue the project, as it would be a shame to see this work abandoned. This is not cheap. You can DM me with offers. If you’re wondering why I’m doing this: I’ve felt a clear lack of appreciation from the L2 community, and I’m not interested in doing charity work for people who don’t deserve it. I’m simply not someone who tolerates BS. Server Info: https://lineage2.gold/info Server for test: https://lineage2.gold/download Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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