PHP Classes

File: resources/views/dm/index.blade.php

Recommend this page to a friend!
  Classes of Naif Alshaye  >  PHP Twitter Bot  >  resources/views/dm/index.blade.php  >  Download  
File: resources/views/dm/index.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Twitter Bot
Application to automate interactions using Twitter
Author: By
Last change:
Date: 1 year ago
Size: 2,500 bytes
 

Contents

Class file image Download
@extends('layouts.app')
@section('content')

    <div class="row">
        <div class="col-lg-6 col-lg-offset-3">
            <div class="panel panel-default">
                <div class="panel-heading bg-light">
                    <div style="font-size:16px; font-weight: bold; color:#565656;">Direct Messages Sents On Follow</div>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-12 table-responsive">
                            <table id="example" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered hover">
                                <thead>
                                <tr>
                                    <th style="text-align: center; width:180px;">User Name</th>
                                    <th style="text-align: center; width:170px;">Name</th>
                                    <th style="text-align: center; width:400px;">Msg</th>
                                    <th style="text-align: center; width:100px;">Sent</th>
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($dm as $row)
                                    <tr>
                                        <td style="text-align: center;"><a href="http://twitter.com/{{ $row->screen_name }}" target="_blank">{{ $row->screen_name }}</a></td>
                                        <td style="text-align: center;">{{ $row->name }}</td>
                                        <td style="text-align: center;">{{ $row->msg }}</td>
                                        <td>
                                            @if ($row->sent == true)
                                                <span class="label label-success" style="font-size:12px;">Success</span>
                                            @else
                                                <span class="label label-danger" style="font-size:12px;">Fail</span>
                                            @endif
                                        </td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                        <div align="center">{{$dm->render()}}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>

@endsection


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