Example #1
0
<!DOCTYPE html>
<?php 
use Cygnite\AssetManager\Asset;
use Cygnite\Common\UrlManager\Url;
use Cygnite\AssetManager\AssetCollection;
?>

<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
        <title>Welcome to Cygnite Framework</title>
<?php 
echo Asset::style('assets/css/cygnite/style.css');
?>
        <link rel="shortcut icon" href="<?php 
echo Url::getBase();
?>
assets/img/cygnite/fevicon.png" > </link>

        <link href="http://fonts.googleapis.com/css?family=Corben:bold" rel="stylesheet" type="text/css">
        <link href="http://fonts.googleapis.com/css?family=Nobile" rel="stylesheet" type="text/css"></link>
    </head>
    <body style="background: #F4F5F7;">

        <div class="container" >
            <div class="header">
                <div style="padding: 5px; ">
                    <div align="center" > <h3 class="text-center"   style="color:#fff !important;">
							<strong style="font-weight: bolder; font-size: 40px;"> Welcome </strong> to Cygnite Framework </h3>
                        <span style="font-size: 15px; color: #F6F6F1; ">A modern PHP Framework for Web developers</span>
                    </div>
Example #2
0
<?php

use Cygnite\AssetManager\Asset;
use Cygnite\Common\UrlManager\Url;
use Apps\Components\Wallscript\Time\TimeStamp;
use Apps\Models\FacebookPostsComments as FBComment;
echo Asset::script('assets/js/cygnite/jquery.js');
echo Asset::style('assets/css/fb_screen.css');
?>
<script type="text/javascript">
    var baseUrl = "<?php 
echo Url::getBase();
?>
";
</script>

<h3>Facebook Style Wall Posting Script using jQuery PHP and Ajax.</h3>

<br> <br>

<div align="">

            <div class="col-lg-8 col-md-4 col-sm-5" style="background:none repeat scroll 0 0 #EDEDED;">
                <div style="float:left"> <i class="glyphicon glyphicon-edit blue-color"></i>&nbsp;&nbsp;<label>Update Status </label> </div>
                <textarea class="form-control post-box" rows="3" id="post-share-box" name="post-share-box"  cols="60" placeholder="What's on your mind ?" ></textarea>


                <div class="" id="comment-bottom-container" style="background:#EDEEEF;paddin:10px 5px;">
                    &nbsp;
                    <!--<div class="comment-bottom-wrap"> <div class="btn-primary button comment"></div></div>-->
                    <span>PHP, Cygnite, JQuery, AJAX Programming + Tutorials ( <a href="http://www.appsntech.com" target="_blank" style="color:#EC092B">www.appsntech.com</a> ) </span>