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

    • L2 DEVS - HTML DESIGN (ALL NPC'S)    
    • I only share for free what they are reselling 🙂 You keep crying in all the publications, and if you are looking for h5 or gd wait for 5 or 6 years... cheers.... GENERAL Cached Extended to 8192kb IOBuffer Hair2SlotCache ItemBidAuctioner Clan Hall Current Olympiad Season Rank pages System (Shows Points/Games - Fully Configurable) Automatic Flag Around Raidboss System Offline Shop & Buffers Restore After Restart (Fixed location) Offline Buffer System PvP Auto Announce System Rebuilt with Extra Addons (Fully Configurable, Name, Zones, Rewards) Automatic Announce System Rebuilt with Extra Addons (Fully Configurable) ALT+B Augmentation House Shift+Click Droplist/Spoil List Epic Items Rank RB points Rank ChangeColorName ChangeColorTitle Change Skin (Race) Change Gender Custom Subclass (Acumulative) Achievements Item Delivery System  Augmentations/Enchants Automatic Announce System Auto Learn Skills PvP Reward Pk Reward War Reward Scheme buffer GlobalChatTrade Trade Augment Items Castle Announce Time Castle Standby Time Fix Spiritshots delay SpellbooksDrop Enable/Disable Drop custom Fully configurable, lvl min max allmobs, allrb, individual New cancel effect min,max BlessedarmorEnchantRate BlessedmagicWeaponEnchantRate BlessednormalWeaponEnchantRate MaxSlosChars MaxSlotsDwarfs Enable or disable all commands Fix fast loading npc OlympiadRestoreStatsOnFightStart OlympiadSystemSecondTimeEnabled OlympiadEnterLast10Minute OlympiadThirdClassSummons MinLevelTrade AnnounceSubClassMsg1 AnnounceSubClassMsg2 AnnounceSubClassMsg3 LimitedSubClassRace NoSellItems Change ID SealStones for AA NoPrivateBuyItems NoDropPlayerOnDie DisableSkillEnchantData Show Level Mobs Show npc clan flag DespawnSummonEnBattle SummonPetEnBattle RideSummonPetEnBattle DitanceToTargetMove EnterWorld_Undying EnterWorld_UnHide BlockWhispMessagePlayerToGM UseItemsWithHide CriticalSkillDamageBonusPer=4.0 Disable SSQSystem OnCastle Siege End Use any dyes Buy halls directly in auctioneer without waiting for the auction, configuration to change the item you consume MensajeEnterWorldServer Command .hero enable/disable hero aura Config vip global chat character, chat by systemsg Soulshots: NoSendSystemMessageUse Panel //admin Global vote reward Agathions system Anti Interface, control all patch files by md5 Command .menu configurable, last restart, name, maxusers, privatestores Spawn protection activate deactivate consume items to activate  Activate or deactivate autoloot for vip characters EVENTS Happy Hour Event reworked Configurable by announcements or systemsg Team VS Team Capture The Flag Death Match Last Man Standing Destroy The Base Korean Style Castle Siege Check if the player is inside the tvt event due to disconnection/critical error Top 1/5 killer reward/announce TimeAfk ResetReuseSkills ResetBuffsOnFinish Firework effect Reward win/lost Add Team Location Title custom Red/blue Open Door/Wall System BalanceBishops Show kills in title Invest positions Show Death To Top Delete Non-Subclass Skills     RELOADS Reload Enterworld Html Option Reload Faction System Reload Donate Shop Reload OfflineBuffer Reload Champion NPC Reload CliExt Reload AntiBot Reload Vip System Reload Auction Reload AutoLoot Reload CastleSiegeManager Reload CharacterLock Reload ClanPvPStatus Reload AutoLearn Reload ClanReputationRank Reload ClanSystem Reload CreatureAction Reload Customs.ini Reload L2server.ini Reload SkillData.txt Reload doordata.txt Reload decodata.txt Reload Multisell Reload DropList   Extender tested for more than 3 years. Assured stability. Possibility of adding MOD's upon request. (Not included, consult).
    • some peoples trash is another mans treasure, is that your treasure?   people might like the content but you are still the rat in the room     thats the community judging you.  
    • Keep reselling what I publish here for free!!! 🙂 GG  
  • Topics

×
×
  • Create New...