mosaics sites

Out of context: Reply #13

  • Started
  • Last post
  • 15 Responses
  • Salarrue0

    • // A mod for plogger

      // BEGIN EDITS

      // Page title
      $titled = "GridWork";

      //How many images do you want shown?
      $amount="100";

      // The URL of your Plogger directory
      // ***IMPORTANT*** DO NOT INCLUDE A TRAILING SLASH
      $siteurl="http://www...

      // CSS
      $css = "<style type=\"text/css\">
      img.recimgborder {
      padding: 0px 0px 0px 0px;
      width: 100%;
      height: 100%;
      -moz-opacity:.15;
      filter:alpha(opacity...
      opacity:.15;
      }
      div.ph {
      width: 100px;
      height: 100px;
      float: left;
      }
      body {
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 0px 0px;
      overflow-x: hidden;
      overflow-y: hidden;
      background-color: Black;
      }
      div.wrap {
      /* creates a bleed */
      width: 110%;
      }
      a:hover img.recimgborder {
      -moz-opacity:100;
      filter:alpha(opacity...
      opacity:100;
      }
      </style>";

      // END EDITS
      ////////////////////...
      ////////////////////...

      include_once("plog-g...
      include_once("plog-l...
      include_once("plog-f...
      echo "<html><head><title>$titled</title>";
      if (!$_GET["n"])
      {

      // sets a cookie the contains screen height and reloads page
      echo "
      <script language=\"javascript\">
      <!--
      function writeCookie()
      {
      var today = new Date();
      var the_date = new Date(\"December 31, 2023\");
      var the_cookie_date = the_date.toGMTString...
      ...
      ayport

View thread

\n\n\";\n}\nelse\n{\necho $css.\"\n\t\n
\n
\";\nglobal $config;\n\n// get cookie\n$screen_res = $_COOKIE[\"users_resolution\"];\n// divides screen height by 200 to create a plausible number to repeat and display the mySQL query results\n$res = $screen_res/200;\nfor($i=1;$i<=$res;$i++)\n {\n$q = \"SELECT * from plogger_pictures order by `id` DESC LIMIT $amount\";\n$result= mysql_query($q) or die\n(\"Could not execute query : $q.\" . mysql_error());\nwhile ($row=mysql_fetch_array($result))\n{\n$id=$row[\"id\"];\n$path=$row[\"path\"];\n$number=strrpos($path, '/');\n$number=$number+1;\n$url=substr($path, $number);\necho \"
\";\n }\n}\n }\necho \"
\";\n\n", "id": 858945, "user_url": "/ayport/"}]}};qbn.cover.start(data);