{"id":235,"date":"2008-05-21T03:41:14","date_gmt":"2008-05-21T00:41:14","guid":{"rendered":"http:\/\/www.youreka.gr\/?page_id=235"},"modified":"2017-08-22T00:24:56","modified_gmt":"2017-08-21T21:24:56","slug":"%ce%b5%ce%b3%ce%b3%cf%81%ce%b1%cf%86%ce%ae-%ce%bd%ce%ad%ce%bf%cf%85-%cf%87%cf%81%ce%ae%cf%83%cf%84%ce%b7","status":"publish","type":"page","link":"https:\/\/youreka.myaddr.io\/?page_id=235","title":{"rendered":"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae \u039d\u03ad\u03bf\u03c5 \u03a7\u03c1\u03ae\u03c3\u03c4\u03b7"},"content":{"rendered":"<p><?php\n  if (isset($_POST[\"nusubmit\"]))\n  {\n    require \"\/home\/youreka\/public_html\/yadmin\/solman_config.php\";\n    $sqlconnection = @mysql_connect($sqlhost, $sqluser, $sqlpass);\n    mysql_set_charset('utf8',$sqlconnection);\n    mysql_select_db($sqldb, $sqlconnection);\n    $un = $_POST[\"txt_un\"];\n    $fn = $_POST[\"txt_fn\"];\n    $ln = $_POST[\"txt_ln\"];\n    $email = $_POST[\"txt_email\"];\n    $site = $_POST[\"txt_site\"];\n    $pass1 = $_POST[\"txt_pass1\"];\n    $pass2 = $_POST[\"txt_pass2\"];\n    if (strlen($un) <= 0)\n    {\n      $missingun = 1;\n      $error = 1;\n    }\n    else\n    {\n      $query = \"SELECT Username FROM solman_users WHERE Username='\" . $un . \"'\";\n      $results = @mysql_query($query, $sqlconnection);\n      if (mysql_num_rows($results) > 0)<br \/>\n      {<br \/>\n        $usedun = 1;<br \/>\n        $error = 1;<br \/>\n      }<br \/>\n    }<br \/>\n    if (strlen($email) <= 0)\n    {\n      $missingemail = 1;\n      $error = 1;\n    }\n    else\n    {\n      $query = \"SELECT Username FROM solman_users WHERE Email='\" . $email . \"'\";\n      $results = @mysql_query($query, $sqlconnection);\n      if (mysql_num_rows($results) > 0)<br \/>\n      {<br \/>\n        $usedemail = 1;<br \/>\n        $error = 1;<br \/>\n      }<br \/>\n    }<br \/>\n    if (strlen($pass1) <= 0)\n    {\n      $missingpass1 = 1;\n      $error = 1;\n    }\n    if (strlen($pass2) <= 0)\n    {\n      $missingpass2 = 1;\n      $error = 1;\n    }\n    if ($pass1 != $pass2)\n    {\n      $passmismatch = 1;\n      $error = 1;\n    }\n    if ($error != 1)\n    {\n      $query = \"INSERT INTO solman_users VALUES (NULL, '\" . $fn . \"', '\" . $ln . \"', '\" . $un . \"', '\" . $pass1 . \"', '\" . $email . \"', '\" . $site . \"', NULL, \" . time() . \")\";\n      @mysql_query($query, $sqlconnection);\n      $succesfulentry = 1;\n    }\n  }\n?><br \/>\n<?php\n  if ($succesfulentry == 0)\n  {\n?><\/p>\n<form action=\"\/?page_id=235\" method=\"POST\">\n<table border=\"0\">\n<tr valign=\"center\">\n<td width=100 align=\"left\">\u03a8\u03b5\u03c5\u03b4\u03ce\u03bd\u03c5\u03bc\u03bf<br \/><font face=\"arial\" <?php if ($missingun == 1) echo 'color=\"red\"' ?>size=&#8221;1&#8243;>(\u03c5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc)<\/font><?php if ($usedun == 1) echo '<br \/><font face=\"arial\" color=\"red\" size=\"1\">\u03a4\u03bf \u03c8\u03b5\u03c5\u03b4\u03ce\u03bd\u03c5\u03bc\u03bf \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03b1\u03c4\u03b5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03ae\u03b4\u03b7<\/font>&#8216; ?><\/td>\n<td><input type=\"text\" name=\"txt_un\" value=\"<?php echo $un ?>&#8221; size=30 maxlength=50><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\">\u038c\u03bd\u03bf\u03bc\u03b1<\/td>\n<td><input type=\"text\" name=\"txt_fn\" value=\"<?php echo $fn ?>&#8221; size=30 maxlength=100><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\">\u0395\u03c0\u03ce\u03bd\u03c5\u03bc\u03bf<\/td>\n<td><input type=\"text\" name=\"txt_ln\" value=\"<?php echo $ln ?>&#8221; size=30 maxlength=100><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\">Email<br \/><font face=\"arial\" <?php if ($missingemail == 1) echo 'color=\"red\"' ?>size=&#8221;1&#8243;>(\u03c5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc)<\/font><?php if ($usedemail == 1) echo '<br \/><font face=\"arial\" color=\"red\" size=\"1\">\u03a4\u03bf email \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03b1\u03c4\u03b5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03ae\u03b4\u03b7<\/font>&#8216; ?><\/td>\n<td><input type=\"text\" name=\"txt_email\" value=\"<?php echo $email ?>&#8221; size=30 maxlength=200><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\">WebSite<\/td>\n<td><input type=\"text\" name=\"txt_site\" value=\"<?php echo $site ?>&#8221; size=30 maxlength=250><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\"><font <?php if ($missingpass1 == 1) echo 'color=\"red\"' ?>>\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2<\/font><\/td>\n<td><input type=\"password\" name=\"txt_pass1\" value=\"<?php echo $pass1 ?>&#8221; size=30 maxlength=16><\/td>\n<\/tr>\n<tr valign=\"center\">\n<td align=\"left\"><font <?php if ($missingpass2 == 1) echo 'color=\"red\"' ?>>\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2<\/font><br \/><font face=\"arial\" <?php if ($passmismatch == 1) echo 'color=\"red\"' ?>size=&#8221;1&#8243;>(\u03b5\u03c0\u03b1\u03bb\u03ae\u03b8\u03b5\u03c5\u03c3\u03b7)<\/font><\/td>\n<td><input type=\"password\" name=\"txt_pass2\" value=\"<?php echo $pass2 ?>&#8221; size=30 maxlength=16><\/td>\n<\/tr>\n<tr valign=\"bottom\" height=\"50\">\n<td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"nusubmit\" value=\"\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03cd\"><\/td>\n<\/tr>\n<\/table>\n<\/form>\n<p><?php\n  }\n  else\n  {\n?><br \/>\n\u0391\u03b3\u03b1\u03c0\u03b7\u03c4\u03ad\/\u03c4\u03ae <?php echo $un ?> \u03ba\u03b1\u03bb\u03c9\u03c3\u03ae\u03c1\u03b8\u03b5\u03c2 \u03c3\u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03ad\u03b1 \u03c4\u03bf\u03c5 YouReka. \u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b5 \u03c4\u03b7\u03bd \u03c6\u03cc\u03c1\u03bc\u03b1 \u03b5\u03b9\u03c3\u03cc\u03b4\u03bf\u03c5 \u03b4\u03b5\u03be\u03b9\u03ac \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c2.<br \/>\n<?php    \n  }\n?><\/p>\n","protected":false},"excerpt":{"rendered":"<p>size=&#8221;1&#8243;>(\u03c5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc) >\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":15,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-235","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":3,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/235\/revisions"}],"predecessor-version":[{"id":762,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/235\/revisions\/762"}],"up":[{"embeddable":true,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/15"}],"wp:attachment":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}