Exemple #1
0
                                        <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 
}
?>


                        </tbody>
                    </table>
Exemple #2
0
        ?>
 </a></b>
                       <p><small><a href="<?php 
        echo get_url($this->database, "user", $popular_poems['submitter_id']['id'], $popular_poems['submitter_id']['poem_slug']);
        ?>
"style="color:#333"><?php 
        echo $popular_poems['submitter_id']['firstname'];
        ?>
</a> </p></small></td>
                    <td width="400">
                        <div class="rating"  data-toggle="tooltip" data-placement="bottom" title="<?php 
        echo get_ratings_text("poems", $popular_poems['id'], $this->database);
        ?>
"  style="font-size:16px; color: #e48a07;">
                      <?php 
        show_ratings_html("poems", $popular_poems['id'], $this->database, false, false);
        ?>
                          </div>
                    </td>
                  </tr>
                  
                  <?php 
        $count++;
        ?>
                  <?php 
    }
    ?>
                        
                </tbody>
              </table>
            </div>
Exemple #3
0
        ?>
</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 {
    ?>
       <div class="alert-message alert-message-danger" style="margin-right: 10px; margin-left: 10px;">
                  
Exemple #4
0
        }
        ?>
             </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 
            echo get_url($this->database, "resubmission", $fetch_poem['id'] . "/" . $fetch_poem['poem_title']);
            ?>
" <div class="btn btn-primary"><?php 
            echo Edit;