{"id":273,"date":"2008-07-08T02:13:03","date_gmt":"2008-07-07T23:13:03","guid":{"rendered":"http:\/\/www.youreka.gr\/?page_id=273"},"modified":"2017-08-13T23:36:19","modified_gmt":"2017-08-13T20:36:19","slug":"%ce%b1%cf%80%ce%bf%cf%83%cf%84%ce%bf%ce%bb%ce%ae-%ce%bb%cf%8d%cf%83%ce%b7%cf%82","status":"publish","type":"page","link":"https:\/\/youreka.myaddr.io\/?page_id=273","title":{"rendered":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03bb\u03cd\u03c3\u03b7\u03c2"},"content":{"rendered":"<p><?php\nif (isset($_COOKIE['YouRekaUserID']) and isset($_COOKIE['YouRekaUsername']) and isset($_COOKIE['YouRekaPassword']))\n{\n  $cuid = $_COOKIE['YouRekaUserID'];\n  $cun = $_COOKIE['YouRekaUsername'];\n  $cpass = $_COOKIE['YouRekaPassword'];\n  \n  require \"\/home\/youreka\/public_html\/yadmin\/solman_config.php\";\n  require \"\/home\/youreka\/public_html\/yadmin\/solman_backend.php\";\n  \n  global $sqlconnection;\n  $sqlconnection = @mysql_connect($sqlhost, $sqluser, $sqlpass) or die(\"Error connecting to database\");\n  mysql_select_db($sqldb, $sqlconnection);\n  \n  $query = \"SELECT Username, Password ,FirstName, LastName, Email, WebSite FROM solman_users WHERE ID=\" . $cuid;\n  $results = mysql_query($query, $sqlconnection);\n  \n  $rpass = mysql_result($results, 0, \"Password\");\n  $run = mysql_result($results, 0, \"Username\");\n  $rfn = mysql_result($results, 0, \"FirstName\");\n  $rln = mysql_result($results, 0, \"LastName\");\n  $remail = mysql_result($results, 0, \"Email\");\n  $rsite = mysql_result($results, 0, \"WebSite\");\n  \n  if (($rpass != $cpass) or ($run != $cun))\n  {\n    echo '<font color=\"red\">\u0394\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af. \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c4\u03b5 \u03c3\u03c4\u03bf YouReka \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1.<\/font> <br \/>\n    \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c4\u03b5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c6\u03cc\u03c1\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03c0\u03bf\u03c5 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03c0\u03ac\u03bd\u03c9 \u03b4\u03b5\u03be\u03b9\u03ac. <br \/>\n    \u0391\u03bd \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1\u03bd <a href=\"\/?page_id=235\">\u03b5\u03b4\u03ce<\/a>.&#8217;;<br \/>\n  }<\/p>\n<p>  else<br \/>\n  {<br \/>\n  if (isset($_GET[&#8216;success&#8217;]))<br \/>\n  {<br \/>\n      $success  = $_GET[&#8216;success&#8217;];<br \/>\n      if ($success <= 1)\n      {\n  ?><br \/>\n<br \/><\/br><br \/>\n\u0397 \u03bb\u03cd\u03c3\u03b7 \u03c3\u03b1\u03c2 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03b8\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2.<br \/>\n\u0397 \u03bf\u03bc\u03ac\u03b4\u03b1 \u03c4\u03bf\u03c5 YouReka \u03b8\u03b1 \u03c4\u03b7\u03bd \u03b5\u03bb\u03ad\u03b3\u03be\u03b5\u03b9 \u03c4\u03bf \u03c3\u03c5\u03bd\u03c4\u03bf\u03bc\u03cc\u03c4\u03b5\u03c1\u03bf \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03bd.<br \/>\n<?php\n      }\n      if ($success == 3)\n      {\n?><br \/>\n<br \/><\/br><br \/>\n\u03a4\u03bf \u03bc\u03ad\u03b3\u03b9\u03c3\u03c4\u03bf \u03b5\u03c0\u03b9\u03c4\u03c1\u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf \u03bc\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 500\u039a\u0392. <br \/>\n<a href=\"\/index.php?page_id=273&#038;puzid=<?php echo $_GET['puzid']; ?>&#8220;>\u03a0\u03c1\u03bf\u03c3\u03c0\u03b1\u03b8\u03ae\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac<\/a><br \/>\n<?php\n      }\n      if ($success > 3)<br \/>\n      {<br \/>\n?><br \/>\n<br \/><\/br><br \/>\n\u039a\u03ac\u03c4\u03b9 \u03c0\u03ae\u03b3\u03b5 \u03c3\u03c4\u03c1\u03b1\u03b2\u03ac&#8230;<br \/>\n\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03bf\u03bc\u03ac\u03b4\u03b1 \u03c4\u03bf\u03c5 YouReka \u03ce\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03bb\u03c5\u03b8\u03b5\u03af \u03c4\u03bf \u03c0\u03c1\u03cc\u03b2\u03bb\u03b7\u03bc\u03b1 \u03c4\u03bf \u03c3\u03c5\u03bd\u03c4\u03bf\u03bc\u03cc\u03c4\u03b5\u03c1\u03bf \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03bd.<br \/>\n<?php\n      }\n  }\n  else\n  {\n    if (isset($_GET['puzid']))\n    {\n     $puzID = $_GET['puzid'];\n      $query = \"SELECT post_title FROM wp_posts WHERE ID=\" . $puzID;\n      $results = mysql_query($query, $sqlconnection);\n      $numofres = mysql_num_rows($results);\n      if ($numofres > 0)<br \/>\n      {<br \/>\n        $puztitle = mysql_result($results, 0, &#8220;post_title&#8221;);<br \/>\n        if (isset($_GET[&#8216;SID&#8217;]))<br \/>\n        {<br \/>\n          $SID = $_GET[&#8216;SID&#8217;];<br \/>\n          if (getSolver($SID) == $cuid AND getPuzzleID($SID) == $puzID)<br \/>\n          {<br \/>\n            $query = &#8220;SELECT SolutionToBe FROM solman_solutions_queue WHERE ID=&#8221; . $SID;<br \/>\n            $results = mysql_query($query, $sqlconnection);<br \/>\n            $PuzSolution = mysql_result($results, 0, &#8220;SolutionToBe&#8221;);<br \/>\n          }<br \/>\n        }<\/p>\n<p>?><br \/>\n<br \/><\/br><\/p>\n<form action=\"\/yadmin\/solman_solsubmit.php\" method=\"POST\" enctype=\"multipart\/form-data\">\n<table border=\"0\" width=\"100%\">\n<tr height=\"20\">\n<td width=\"120\" align=\"left\" valign=\"bottom\"><b>\u038c\u03bd\u03bf\u03bc\u03b1 \u03b3\u03c1\u03af\u03c6\u03bf\u03c5<\/b><\/td>\n<td align=\"left\" valign=\"bottom\"><?php echo $puztitle; ?><\/td>\n<\/tr>\n<tr height=\"5\">\n    <\/tr>\n<tr>\n<td width=\"120\" align=\"left\" valign=\"top\"><b>\u039b\u03cd\u03c3\u03b7<\/b><\/td>\n<td align=\"left\"><textarea name=\"Solution\" rows=\"30\" cols=\"65\"><?php echo $PuzSolution ?><\/textarea><\/td>\n<\/tr>\n<tr>\n<td width=\"120\" align=\"left\" valign=\"top\"><b>\u03a3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf (<500Kb)<\/b><\/td>\n<td align=\"left\"><input type=\"file\" name=\"file\" id=\"file\" \/> <\/td>\n<\/tr>\n<tr>\n      <input type=\"hidden\" name=\"puzid\" value=\"<?php echo $puzID; ?>&#8220;><\/p>\n<td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"\u03a5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae \u03bb\u03cd\u03c3\u03b7\u03c2\"><\/td>\n<\/tr>\n<\/table>\n<\/form>\n<p><?php\n      }\n      else\n      {\n        echo '\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03bf\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03b3\u03c1\u03af\u03c6\u03bf\u03c5.';\n      }\n    }\n    else\n    {\n      echo '\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 508.'; \/\/ \u0394\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03b7 \u03c0\u03b1\u03c1\u03ac\u03bc\u03b5\u03c4\u03c1\u03bf\u03c2 puzid \u03c3\u03c4\u03bf URL\n    }\n  }\n}\n}\nelse\n{\n  echo '<font color=\"red\">\u0394\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af. \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c4\u03b5 \u03c3\u03c4\u03bf YouReka \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1.<\/font> <br \/>\n    \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c4\u03b5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c6\u03cc\u03c1\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03c0\u03bf\u03c5 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03c0\u03ac\u03bd\u03c9 \u03b4\u03b5\u03be\u03b9\u03ac. <br \/>\n    \u0391\u03bd \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1\u03bd <a href=\"\/?page_id=235\">\u03b5\u03b4\u03ce<\/a>.&#8217;;<br \/>\n}<br \/>\n?><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-273","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/273","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=273"}],"version-history":[{"count":19,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/273\/revisions"}],"predecessor-version":[{"id":780,"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=\/wp\/v2\/pages\/273\/revisions\/780"}],"wp:attachment":[{"href":"https:\/\/youreka.myaddr.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}