Jump to content
xisto Community

matak

Members
  • Content Count

    419
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by matak

  1. hello, i tried to send you P.M. but some sort of error appears. please send me P.M. so we can discuss about design.
  2. thx for the tutorial, but those flashy buttons are not solution.i need a bit more professional buttons for that website
  3. I need cool buttons for my website, for contact, pdf and more links,I'm willing to pay for that designsAlso if you know good websites where i can buy similar buttons that would also be helpfulThank you
  4. Google Chrome designer bug was found merely few hours after google releasted it. I really love google products. And while waiting for the NEW browser which will revolutionize the internet, as designer i really hoped that they will fix the stupid scrool bug by adding empty white space as holder of the scrool, so that you don't have to se your page shiver when loading from small content to content that has some scrolling to do" I also hope that google engineers find this notice before they reach zillion of uses of their browser. More news can be found, here
  5. Ok, i'm just interested will my credits go to 0 couse now i have 150, if i get accepted for 30 credits application? :XD:
  6. Hy peeps. That forum "Post a new topic in My Ideas, Theories, Possiblities, Innovation" (possiblities is misspelled ), is forum forum for my first posts, and i guess for few last ones (unless it gets accepted :XD:) j/k (memories) Anyway trap has a good offer for 250 credits for one year of domain, and i was wondering why can't be an offer for 250 credits for one year of hosting. Here's how i think it goes, and why 250 credits application could be a good one. buying a hosting for a website, means that you have a good idea for your website when you are achieving that goal you don't have much time to post on forums, but you are dedicated to developing your website after development you need a good host to test your website if in your free time you managed to stay active on trap forums an gather at least 250 credit (which isn't that hard) you can go for one year hosting application one year hosting is approved, and you don't lose credits for one year after that approval if you don't have enough credits to buy another year of hosting then your account is canceled, or you just start to lose your credits unless you canceled your account Gathering 250 credits requires patience, and again if you gather so much you wouldn't have to wory about your credits going to be brought back to 0 after your 30 credits hosting application is approved. Thank you for taking time to read this. Notice from BuffaloHELP: Spelling corrected and moved to Feedback > Suggestions
  7. @ffanatics, i guess your comments were for the design in post no #1 please check out this my NEW design. this was not a good idea to put all designs in same topic :XD: just to comment on the image sizes of the new design, it's 33,3 KB (34.128 bytes)-> files 68,0 KB (69.632 bytes)->on disk and i'm going to edit the post#1 so people don't mistake designs again Thanks for the review
  8. oh, sorry i should edit that.. and change the link.. first design is old, and not in use i think.. i'll find it somewhere on my PC an change the link after not beeing hosted at trap anymore lot's of my links are broken.. :XD: thanks for the good comments on New design EDIT: repaired the broken link
  9. Ok, sorry mods for that way ot post in website reviews i forgot it's supposed to go in website showcase. Here is my second, latest design i wanted to show of, and here few good words about it. Thanks for replies! :XD:
  10. i was unsure wheater to post a topic about this subject, and then just few posts below i saw someone talking about lsd, and mentioning dr.Houses episode when he used it to treat migraine... anyway, dr House is only series i'm lurking for on TV, and i think it's great. It's power is in the brilliant new way of studying human behavior on whole new level. Psychological profiles of characters like House, and his crew are made to be conflicting but again show that line in each one of us which makes us humans. Anyway i just wanted to comment on last episode i saw, when he got shot, and had complete outer body experience, in which he realized that he's hallucinating, and strugling to stay alive. Also he mentioned ketamine, which is powerfull supstance that i know people used in heavy depressing states, when they had trouble dealing with deaths of their closest. ketamine is known to produce outer body experiences and so called astral projections, and many people noted that after just few trips they had chance to feel the presence of their lost family, friends, which helped them in accepting their deaths, and getting rid of depression. as for psychedelic writings, i do that in my free time, on paper and on web, but i'm writing in my native language, couse it's hard to express all those feelings and impressions in foreign language. thanks for accepting this topic, couse i'm sure many people will misunderstand it's purpuse
  11. Psychedelic medicine is know no treat psychiatric difficulties like schizophrenia or bipolar disorder. In 1943 A. Hoffman created lysergic acid which was the main couse of the 60ties hippie movement. Little people know that from time that medicine was invented until the 1963 when it was banned in US for massive and uncotroled consumption it was used in clinics under supervision of specialists to treat lot's of psychiatric problems like alcoholizm, cigarets addiction, schizophrenia. Also, shamans, around the world like the ones you know from Mexico use magic shrooms (aka psiloglobin) for subconcious travels. Those supstances are known to have similar effects on human behavior like lysergic acid. Now it is forbiden to use those supstances, and it's forbiden in good couse. Many teenagers are exposed to use of drugs, and that by all means should be stopped. But nevertheless it should be noted, that some psychiatrists are still voting for use of those supstances in medical treatment for severe cases of schizophrenia, bipolar or similar subconcious problems. It's a shame that fear of loosing our kids to the missuse of drugs, forbid us to see some possible benefits of using the same in society. Prety much old link from Wired, that made me write this post, can be found here, and just by further clicking, and reading, it's simple to se how humanity is ignorant in accepting the truth about their egzistance. It's all in your head.. Respect!
  12. server echoes server time. i mean, that's... doh
  13. hyperphp.com might suit your needs :D

  14. here's the quick question :). two divs.. float left, float right. widht is in %. how to manage both div's height to be the same no matter how much content there is in any one of them :).

  15. Althought it works, and maybe some users can even use this class for some simpler websites, this is not a good way to create class. I cant really explain why, and i'm publishing it so maybe people with more experience in template design can help me figure out how to create PHP templates. Looking forward for your answers. some of the variables and directories are in croatian, but i don't think that matters when you look at with programmers eyes. First my index.php file looks like this... <?php include ("includes/showSiteClass.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://forums.xisto.com/no_longer_exists/ xmlns="http://forums.xisto.com/no_longer_exists/; xml:lang="en" lang="en"><head><title>jednostavno.com - Jednostavno o Web dizajnu i programiranju - <?php $ypSiteModules->showTitle(); ?></title><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><link rel="stylesheet" href="css.css"><style type="text/css"></style></head><body><div id="gore"><?php $ypSiteModules->showMainLinks($_GET); ?></div><div id="lijevo"><?php $ypSiteModules->showSubLinks($_GET); ?><div id="desno"><?php $ypSiteModules->showContent(); ?></div></body></html> showSiteClass.php is this <?php error_reporting(E_ALL); ?><?php class c1ShowContent { private $variable = array ( "index" => array ("PHP Open source sustav" => "opensource"), "HTML" => array ("Pisanje HTML koda [HTML 0001]" => "pisanjehtmla"), "PHP" => array ("Instalacija Xampp [PHP 0001]" => "instalacijaxampp" ) ); public function showMainLinks($fun) { echo "<div class=\"mainLinkovi\"><ul>"; foreach ($this->variable as $key => $val) { echo "<li><a href=\"?main=".$key."\">$key</a></li>"; } echo "</ul></div>"; $mainKeys = array_keys ($this->variable); if (empty($_GET['main'])) { $this->link = $this->variable["index"]; $this->main = $this->variable = "index"; } elseif (in_array($_GET['main'], $mainKeys)) { $this->link = $this->variable[$_GET['main']]; $this->main = $_GET['main']; } else { $this->link = $this->variable["index"]; $this->main = $this->variable = "index"; } } public function showSubLinks($fun){ echo "<div class=\"subLinkovi\"><p>Sadraj - $this->main</p>"; echo "<ul>"; foreach ($this->link as $key => $val) { echo "<li><a href=\"?main={$this->main}&sub=".$key."\">$key</a></li>"; } echo "</ul></div>"; $subKeys = array_keys ($this->link); $this->subKeys =$subKeys; if (empty($_GET['sub'])){ $this->content = $this->main; } elseif (in_array($_GET['sub'], $subKeys)) { $this->content = $this->link[$_GET['sub']]; } else { $this->content = $this->main; } } public function showContent(){ include "stranice/$this->main/$this->content.html"; $filename = "stranice/$this->main/$this->content.html"; if (file_exists($filename)) { echo "<p class=\"ftime\">Dodano: " . date ("d F Y H:i:s.", filemtime($filename))."</p>"; } } public function showTitle() { $mainKeys = array_keys ($this->variable); if (empty($_GET['main'])) { $this->title = "index"; } elseif (!empty($_GET['main']) && empty($_GET['sub'])) { if (in_array($_GET['main'], $mainKeys)){ $this->title = $_GET['main']; } else { $this->title = "index"; } } elseif (!empty($_GET['sub'])) { $this->link = $this->variable[$_GET['main']]; $subKeys = array_keys($this->link); if (in_array($_GET['sub'], $subKeys)){ $this->title = $_GET['sub']; } else { $this->title = "index"; } } echo $this->title; } }$ypSiteModules = new c1ShowContent;?> directory sturcture on root is -includes --showSiteClass.php -stranice --index ---index.html ---opensource.html --HTML ---HTML.html ---pisanjehtmla.html --PHP ---PHP.html ---instalacijaxampp.html index.php Problem i found on this class, that it's not dynamic enough. It's fast, and i think it's secure enough, but i got some problems when i wanted to include some pages EG. contact.php, that need another included file eg mailto.php, and can't figure out a way to solve that problem, except by including it in index.php file at start, but than it would be availiable to any file i have, and that's not an option. I tried to find many good tutorials on writing PHP template system, and am trying to avoid smarty, beacouse i preffer to use my own templating system until i become more familliar with the way it works. If you had experience in building such a system, please help. Main problem i think is, array that sets pages, beacouse it's really crude for now, and i need to make it more justifiable (dunno the proper word). Thanks for any help.
  16. Ah cookies, are almost the same as sessions . You just have to use some way to store information on user computer
  17. using login without sessions, even with database setup, would at least require a cron job, or something... why alex isn't responding?
  18. script on post#1 can work on any PHP driven hosting, such as Xisto
  19. Ok, fast reply works again :PYeah, mySQL is great, this is like i stated for small sites with less than 10(0) visitors a day . I'm extending the script so it saves in directories based on a date value, and stuff like that, so that later i don't have like millions of files.
  20. ?!Fast reply isn't working.. or is it just me..Anyway, those keyboards will never be as fast as real ones. Similar to wireless keyboards or mice... It's cool, but slow
  21. This is really simple script. Well at least this part is, but it could be extendable. Only problem is that it's not really for massive websites with hundread of visitors a day, but rather for small ones. But it is a good script to figure out how to make a visitor counter script. Anyway here's the snippet. <?phpfunction getVisits($variable) { $visits = array(); if ($handle = opendir('stats/')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { array_push($visits, $file); } } closedir($handle); } $key = array_search($variable, $visits); if ($key !== FALSE) { echo "Posjeta do sada: ".count($visits); } elseif ($key === FALSE){ $file = fopen("stats/".$variable, 'a'); fwrite($file, $variable); fclose($file); getVisits($variable); }}?> Just call it with getVisits($_SERVER['REMOTE_ADDR'])., and be sure to have that stats directory in same root as file in which script is executed. Comments or improvments are welcome.
  22. Congrats on becomming a moderator! have fun :D

  23. I don't think so. Pure Javascript can't connect to database (i might be wrong), but instead Ajax is used to do that. Asynchronous Javascript and Xml technology, that has advantage like xhttp request or something. You can check both on w3schools(Javascript, Ajax), or Wikipedia links(Javascript, Ajax)
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.