Esempio n. 1
0
"><?php 
    echo $author_poems['poem_title'];
    ?>
</a>
                                        <a href="<?php 
    echo get_url($this->database, "user", $this->submitter_info['id'], $this->submitter_info['firstname']);
    ?>
" style="color:#333"><p><small><?php 
    echo $this->submitter_info['firstname'];
    ?>
</small></p></a>
                                    </td>
                                    <td width="350">

                                        <div class="rating"  data-toggle="tooltip" data-placement="bottom" title="<?php 
    echo get_ratings_text("poems", $author_poems['id'], $this->database);
    ?>
"  style="font-size:16px; color: #e48a07;">
                                            <?php 
    show_ratings_html("poems", $author_poems['id'], $this->database, false, false);
    ?>
                                        </div>



                                    </td>
                                </tr>

                            <?php 
}
?>
Esempio n. 2
0
		 <tr>
                 <td><?php 
        echo $count;
        $count++;
        ?>
</td>
                 <td><a href="<?php 
        echo get_url($this->database, "poem", $page_poems['id'] . "/" . $page_poems['poem_slug']);
        ?>
"><?php 
        echo text_limit($page_poems['poem_title'], 35);
        ?>
...</a></td>
                 <td style="font-size:18px;text-align:left;margin-left:-10px">
                      <div class="rating"  data-toggle="tooltip" data-placement="bottom" title="<?php 
        echo get_ratings_text("poems", $page_poems['id'], $this->database);
        ?>
"  style="font-size:16px; color: #e48a07;">
                     <?php 
        show_ratings_html("poems", $page_poems['id'], $this->database, false, false);
        ?>
                      </div>
                     </td>
         	 </tr>
                   <?php 
    }
    ?>
             </tbody>
          </table>
       <?php 
} else {
Esempio n. 3
0
		 <tr>
                 <td><?php 
        echo $count;
        $count++;
        ?>
</td>
                 <td><a href="<?php 
        echo get_url($this->database, "user", $users['id'] . "/" . $users['poem_slug']);
        ?>
"><?php 
        echo text_limit($users['firstname'], 35);
        ?>
...</a></td>
                 <td style="font-size:18px;text-align:left;margin-left:-10px">
                      <div class="rating"  data-toggle="tooltip" data-placement="bottom" title="<?php 
        echo get_ratings_text("author", $users['id'], $this->database);
        ?>
"  style="font-size:16px; color: #e48a07;">
                     <?php 
        show_ratings_html("author", $users['id'], $this->database, false, false);
        ?>
                      </div>
                     </td>
         	 </tr>
                   <?php 
    }
    ?>
             </tbody>
          </table>
       <?php 
} else {
Esempio n. 4
0
             <?php 
            echo $fetch_poem['poem_title'];
            ?>
             <?php 
        }
        ?>
             </td>
             <!-- <td><a href="<?php 
        echo get_url($this->database, "poet", $fetch_poem['author_id']['id'], $fetch_poem['author_id']['Author_slug']);
        ?>
"><?php 
        echo isset($fetch_poem['author_id']['Author_name']) ? $fetch_poem['author_id']['Author_name'] : 'No Poet';
        ?>
</a></td> -->
                  <td><div class="rating"  data-toggle="tooltip" data-placement="bottom" title="<?php 
        echo get_ratings_text("poems", $fetch_poem['id'], $this->database);
        ?>
"  style="font-size:16px; color: #e48a07;">
                <?php 
        show_ratings_html("poems", $fetch_poem['id'], $this->database, false, false);
        ?>
                      </div>
                   </td>
                   <td><?php 
        echo $fetch_poem['created'];
        ?>
 </td>
                   <?php 
        if (!isset($fetch_poem['views'])) {
            ?>
                   <td><a href="<?php