Server IP : 127.0.0.2 / Your IP : 18.188.192.62 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/resources/views/ |
Upload File : |
@extends('template.default') @section('content') <div class="header-breadcrumbs"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="breadcrumbs-title text-center"> <h2>LinkedIn Articles</h2> <div class="subheader-pages"> <ul> <li><a href="{{route('home')}}" style="color:#fff;">Home</a></li> <li><a href="{{route('article1')}}" style="color:#fff;">Articles</a></li> <li>LinkedIn Articles</li> </ul> </div> </div> </div> </div> </div> </div> <div class="linkedinarea"> <div class="container"> <div class="" id="articlerow" style="margin-top: 30px;"> <div class="col-md-12 article"> <div class="col-md-6 left " id="left"> </div> <div class="col-md-6 right " id="right"> </div> </div> </div> </div> </div> @endsection @push('styles') <style> iframe { margin-bottom: 26px; } #right{ padding-left: 37px !important; } .article{ width: 107% !important; } #left{ border-right-color: #e0e0e0 !important; border: 1px solid; border-color: rgba(0,0,0,0); margin-left: 0px; padding-left: 24px !important; } #verticalpost{ /* transform: rotate(90deg) !important; */ border-left: 1px solid green; min-height: 705px; height: auto; position: absolute; left: 50%; margin-left: -21px; top: 216px; float: none !important; } </style> <link href="{{{URL::asset('public/css/home.css')}}}" rel="stylesheet"> @endpush @push('scripts') <script type="text/javascript" src="{{{URL::asset('public/js/jquery-1.7.1.min.js')}}}"></script> <script> $( document ).ready(function() { $.ajax({ url : '{{{URL::route('linkedInarticles')}}}', type: 'GET', data: { "_token" : "{{ csrf_token() }}", }, success: function(response) { $('.articles').html(''); $.each(response,function(i,value) { // console.log(value.ArticleCode); // postart +='<div class="col-md-12" post'+i+'">'+value.ArticleCode+'</div>'; if(i%2==0){ // console.log('two'); $('.left').append('<div class="col-md-12" post'+i+'">'+value.ArticleCode+'</div>'); } else{ $('.right').append('<div class="col-md-12" post'+i+'">'+value.ArticleCode+'</div>'); console.log('three'); } }); // $('iframe').load(function(){ // var iframe = $(this); // console.log(iframe); // console.log(iframe.contentWindow); // console.log(iframe.contents); // console.log(iframe.contentDocument); // } // iframe.find("a").click(function(event){ // alert("test"); // event.preventDefault(); // }); // }); // postart +="</div>"; // console.log(response.ArticleCode); // $('.articles').html(response); } }); }); </script> @endpush