Exemplo n.º 1
0
    <div class="demo-blog mdl-layout mdl-js-layout has-drawer is-upgraded">
      <main class="mdl-layout__content">
        <div class="demo-blog__posts mdl-grid">

         <!-- Right, the content. -->

    <?php 
for ($GLOBALS[i] = 1; $GLOBALS[i] <= $dbcls->getCount(); $GLOBALS[i]++) {
    echo '<div class="mdl-card orz mdl-cell mdl-cell--12-col">';
    echo '<div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(';
    echo $dbcls->getBackgroundLocation($GLOBALS['i']);
    echo ');"><h3>';
    echo '<a href="entry.php?p=';
    echo $GLOBALS[i];
    echo '">';
    echo $dbcls->getTitle($GLOBALS[i]);
    echo '</a></h3></div><div class="mdl-card__supporting-text mdl-color-text--grey-600">';
    echo $dbcls->getContentPreview($GLOBALS[i]);
    echo '</div><div class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div class="minilogo"></div><div><strong>';
    echo $dbcls->getAuthor($GLOBALS[i]);
    echo '</strong><span>Edited</span></div></div></div>';
}
?>







          <nav class="demo-nav mdl-cell mdl-cell--12-col">
Exemplo n.º 2
0
      https://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License
-->
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php 
echo $dbcls->getTitle($pid) . ' - ' . $dbcls->getHTitle();
?>
</title>

    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon-192x192.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Material Design Lite">
    <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">

    <!-- Tile icon for Win8 (144x144 + tile color) -->
    <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">