예제 #1
0
<?php

session_start();
header("Content-Type: application/json");
include "../dbconnection.php";
$select = getAllRhymes();
if ($select > 0) {
    $result = array();
    while ($data = mysql_fetch_assoc($select)) {
        $result[] = $data;
    }
    $data = array("data" => $result, 'status' => 1);
    echo json_encode($data);
} else {
    $status = array('status' => 0, 'error' => 'No rhymes exits');
    echo json_encode($status);
}
예제 #2
0
                <div class="box-body">
                  <div class="table-responsive">
                    <table class="table no-margin">
                      <thead>
                        <tr>
                          <th>Rhyme ID</th>
                          <th>Name</th>
                          <th>Status</th>
                          <th>Is Featured</th>
                          <th>Created At</th>
                          <th>Actions</th>
                        </tr>
                      </thead>
                      <tbody>
                          <?php 
$result = getAllRhymes();
if ($result > 0) {
    while ($topmenu = mysql_fetch_array($result)) {
        ?>
                          <tr>
                          <td><?php 
        echo $topmenu['rhyme_id'];
        ?>
</td>
                          <td><?php 
        echo $topmenu['rhyme_name'];
        ?>
</td>
                          <td>
                              <a href="update-rhyme-status.php?id=<?php 
        echo $topmenu['rhyme_id'];
예제 #3
0
<div class="col-md-3"><img src="images/Rhymes-image-demo.png" class="img-responsive"/></div>
<div class="col-md-9"><p class="paragraph"><strong>Nursery rhymes songs</strong> are not just silly songs to amuse you kids but are also very essential for your kid to develop language variations and to build vocabulary. Make sure <strong>nursery poems</strong> and <strong>baby rhymes</strong> should be taught in a fun manner so that your kid learns about music and language quickly. Our portal TheFunKids brings Alphabets and Counting songs, Lullabies, Riddles, Fables and Nursery Rhymes Videos for kids in Pakistan that enables your child to build fluency in reading and speaking with joy. Now do not waste your money and time to purchase CD’s and downloading nursery rhymes, because our virtual <strong>children rhymes</strong> section can teach your child his favorite nursery rhymes songs! </p></div>

<div class="clearfix"></div>
</div>



<div class="clearfix"></div>
<br/>

<div class="col-md-12 new-rhymes-page">
<h1 class="stories-page-h1"><span class="popular">NEW</span> RHYMES</h1>
<ul>
<?php 
$new_rhymes = getAllRhymes();
if ($new_rhymes > 0) {
    while ($new_rhyme = mysql_fetch_array($new_rhymes)) {
        ?>
<li>
<a href="kids-rhymes-<?php 
        echo $new_rhyme['rhyme_seo'];
        ?>
" title="">
<div class="col-md-3 stories-page-down">
<img src="rhymes/<?php 
        echo $new_rhyme['rhyme_image'];
        ?>
" alt="kids-rhymes-sunshine" class="img-responsive"/>
<p class="stories-page-para2" align="center">
<?php