PHP Classes

File: example/index.php

Recommend this page to a friend!
  Classes of Tomas Pavlatka  >  PTX PHP GD Analog Clock  >  example/index.php  >  Download  
File: example/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PTX PHP GD Analog Clock
Render the time on analog clock as an image
Author: By
Last change:
Date: 7 years ago
Size: 3,922 bytes


Class file image Download
<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="PHP Class which generates analog clock out of the digital time.">
    <meta name="author" content="Tomas Pavlatka []">

    <title>PTX Clock - Generate Analog Clock from digital time</title>

    <!-- Bootstrap core CSS -->
    <link href="" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="./css/ptx.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src=""></script>
    <script src=""></script>


<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            <a class="navbar-brand" href="#">PTX Clock - Generate Analog Clock from digital time</a>
        <div id="navbar" class="collapse navbar-collapse pull-right">
            <ul class="nav navbar-nav">
                <li><a href="" title="Tomas Pavlatka - a passionate PHP Developer">Tomas Pavlatka</a></li>
                <li><a href="" title="Tomas Pavlatka - contact me">Contact</a></li>
        </div><!--/.nav-collapse -->

<div class="container">

    <div class="starter-template">
        <h1>PTX Clock - Generate Analog Clock from digital time</h1>
        <p class="lead">PHP Class to create analog clock from the time given. I have a son and they are teaching him at school the clock. I though it would be great to create a simple game to help him out. This class is just a beginning of the whole idea.</p>

    <div class="row">
        <div class="col-md-6">
            <form class="form" action="" id="GenerateClock">
                <div class="form-group">
                    <label for="ClockTime">Time</label>
                    <input class="form-control" type="text" id="ClockTime" placeholder="01:02"/>
                    <span class="help-block">Time must be in HH:ii format, e.g. 01:02</span>

                <button type="submit" class="btn btn-primary">GENERATE</button>

            <p><strong>PTX Clock on Github</strong></p>

                <li><a href="" title="PTX Clock - Generate Analog Clock from digital time">PTX Clock on Github</a> - Check the code or download it</li>

        <div class="col-md-6">
            <div id="ClockImage" class="text-center"></div>

</div><!-- /.container -->

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src=""></script>
<script src=""></script>
<script src="./js/ptx.js"></script>

For more information send a message to info at phpclasses dot org.