uuDEE Posted September 29, 2005 Report Share Posted September 29, 2005 Mani interese ka varetu uzmeikot teamplate counter-strike webam un kur varetu dabut v1 or v.. themes prieksh web :unsure: Link to comment Share on other sites More sharing options...
Kavacky Posted September 29, 2005 Report Share Posted September 29, 2005 Kas par mistisko "v1" un "v..."? Bet lai nu paliek. Opā. Link to comment Share on other sites More sharing options...
uuDEE Posted September 30, 2005 Author Report Share Posted September 30, 2005 a kads varetu pateikt ka var uzkodet teamplate.Pliizz need help Link to comment Share on other sites More sharing options...
v3rb0 Posted September 30, 2005 Report Share Posted September 30, 2005 nav nemazakas nojauta kas ir kaunterstraika weba templeits v1 or v, bet nu vispariigi ar tempeleitiem daros kkaa shitaa, ir lapai class my_page { .. function dispatch() { include('templates/tpl_my_page.php'); } } un ieks tpl_my_page.php tiec viegli klat pie my_page objecta propertijiem un vari sadarit ko un kaa vien tik vajag. shadi shobrid man skiet visefectiivaak. varbut kadreiz atkal atgrieziisos pie smarty lietosanas, bet cerams nee :D Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2005 Report Share Posted September 30, 2005 a kads varetu pateikt ka var uzkodet teamplate.Pliizz need help 23533[/snapback] nu jautaajums ir liidzveertiigs sham: kaa uzrakstiit staastu franchu(ta jebkuraa)? atbilde njemam papiiru(atieciigo programnodroshinaajumu) un rakstam ! darbam nepiecieshams: papiirs, rakstaamais (programmas) un dotaas valodas zinaashanas un izdoma ! ja zinaashanu/izdomas nav - maksajam atieciigam specialistam... ------- taatd lai uzrakstiitu templaitu nepiecieshams vismaz elementaras HTML/PHP zinaashanas - ja ne naaksies maksat. Ja taadas ir - tad pajautaa tantei googlei :lol: ---- Ljoti daudziem seit esosjajiem cilveekiem - tas ir maizes darbs - par briivu neko nedos .... tikai paliidzees ar KONKRETAS probleemas risinaashanu Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2005 Report Share Posted September 30, 2005 nav nemazakas nojauta kas ir kaunterstraika weba templeits v1 or v, bet nu vispariigi ar tempeleitiem daros kkaa shitaa, ir lapaiclass my_page { .. function dispatch() { include('templates/tpl_my_page.php'); } } un ieks tpl_my_page.php tiec viegli klat pie my_page objecta propertijiem un vari sadarit ko un kaa vien tik vajag. shadi shobrid man skiet visefectiivaak. varbut kadreiz atkal atgrieziisos pie smarty lietosanas, bet cerams nee :D 23534[/snapback] ;) sis nebuus ekvalents? --------- $propertijas.... include (bla bla bla)....// funkciju fails utt.. include('templates/tpl_my_page.php'); ----------- arii viegli tiec klaat pie visa ko vajag Link to comment Share on other sites More sharing options...
v3rb0 Posted September 30, 2005 Report Share Posted September 30, 2005 jaa arii taa, bet esmu kritis uz objectiem - taapee clase :) Link to comment Share on other sites More sharing options...
Analgiins Posted September 30, 2005 Report Share Posted September 30, 2005 (edited) starp citu par teimpleitiem - a nafig vinji vispaar jaalieto? Raksts ko palasiities par to: http://www.phpguru.org/static/templating.html Edit: es domaaju templeit engini Edited September 30, 2005 by Analgiins Link to comment Share on other sites More sharing options...
bubu Posted September 30, 2005 Report Share Posted September 30, 2005 Tak par to pašu jau laacz arī rakstīja: http://laacz.lv/blog/2004/11/03/templates/ Link to comment Share on other sites More sharing options...
rpr Posted September 30, 2005 Report Share Posted September 30, 2005 komandas plati vajag? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2005 Report Share Posted September 30, 2005 starp citu par teimpleitiem - a nafig vinji vispaar jaalieto? Raksts ko palasiities par to: http://www.phpguru.org/static/templating.htmlEdit: es domaaju templeit engini 23538[/snapback] nu nezinu - var jau arii to nesaukt par templaitu :) bet par lapas "dzini" ;) bet ar PHP izveidotai lapai (no atseviskjiem moduljiem) ir Ljoti daudz prieksrociibu viena no galvenajaam - dizains atdaliits (gandriiz..) no genereetaas - liidzarto lapu var viegli modificeet - mainot kaadu dalju nav jaaparaksta viss kods... tas nebuutu svariigi ja lapaa ir kaadas 10-20 ieksadaljas, bet ja ir 200? nomainot teiksim laps numeraacijas (virsrakstu utt) bildi/fontu jaamaina Buus visaam :( -------- Link to comment Share on other sites More sharing options...
v3rb0 Posted September 30, 2005 Report Share Posted September 30, 2005 (edited) jaa man ar taa tagad liekas ka kamer templates enginee <?=$somevar?> neizpildiisies atraak nekaa plikaa php tikmeer jeega maza. ja nu vienigii templeits ir kaut kas taads ko jaadod kaadam dizaineristam-htmlistam taisiit un tam bail no php gabaliem :) bet citadi pietiek lapu/formu sadalit vismaz divas daljaas, vienaa htmls ortraa logikaa kaa dabuu to ko raadiit. Edited September 30, 2005 by v3rb0 Link to comment Share on other sites More sharing options...
Analgiins Posted September 30, 2005 Report Share Posted September 30, 2005 to Grey_Wolf: gruuti komenteet, tas ir kaads ir freimworks to v3rb0: tu saki dizaineristam-htmlistam bail no PHP, nu a kaada atshkjiriiba starp piemeeram <td>{$mainigais}</td> no <td><?=$mainigais?></td>. Visu var iemaaciities (man jau liekas, ka te driizaak runa iet par pieradumu, nevis maaceeshanu) Link to comment Share on other sites More sharing options...
v3rb0 Posted September 30, 2005 Report Share Posted September 30, 2005 es saku 'ja nu kaadam', nevis ka visiem bail :). protams ka atskiriiba nekada - un php pats par sevi ir laba templeitu valoda. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2005 Report Share Posted September 30, 2005 es parasti taiso lapu daru apmeeram sekojoshi: uziimeeju lapu PhotoShopaa turpat arii vinju sagriezu ( n piegaajienos) pie tam jau plaanoju kaada buus tabulu struktuura galvinju (nemainiigo dalju griezu atseviski, menjuchus atseviskji utt) katru reizi iedodu generejamam HTML (arii bildeem) pieskjirot citu nosaukumu galvinja, menu utt.. peec tam ,sakot no augshas, Notepadaa visu sametu kopaa :) contentu vietaas Include un viss rulee :) tas man (pat dizainiski sarezgjiitam saitam) man aiznjem (grieshana un salipinaashana) paaris stundas, nu ja ljoti sarezgiits dizains tad protams ilgaak ---- faila sakumaa ieliiku PHP kodu kas atlasa kursh contents dotajaa briidii vajadziigs un to arii incluudo (tas pats ar menjuchiem , ja vajag arii ar bildeem, utt) kaapeec gan to nesaukt par tempaitu? ------- un contentu (kas 80% gadijumu ir tiirs HTML) var dod veidot pat galiigam neprasham PHP kodeeshanaa (dazbriid pat sekretaarei ;) ) tikai atliek pasekot liidz lai sakriit kodeejums un peec tam aizvaakt liekas daljas (augsu un apaksu) pieliekam (ja vajag) PHP un viss.. ------ Link to comment Share on other sites More sharing options...
Recommended Posts