/**
  * @param HttpRequest $httpRequest
  */
 public function fire(HttpRequest $httpRequest)
 {
     // the index is the name of the queue, the value is the URL the consumer should call to
     //     process the queue item
     $queues = array('AmbitiousMailSenderEmailSend' => Route('queueConsumerEmailSend'));
     $queue_consumer_url = Route('queueConsumerSetup');
     echo $queue_consumer_url;
     foreach ($queues as $queue_name => $url) {
         $requestData = ['url' => $url, 'queue_name' => $queue_name];
         $httpRequest->post($queue_consumer_url, $requestData, 1, true, false);
     }
 }
 public function getExportExcel()
 {
     if ($_SESSION["dataEX"]) {
         $this->dataEX['lists'] = $_SESSION["dataEX"];
         $this->dataEX['siteName'] = $_SESSION["dataSiteName"];
         $this->dataEX['date'] = $_SESSION["dataDate"];
     } else {
         return Redirect::to(Route('ReportPublisherShowList'));
     }
     $excel = App::make('excel');
     $name = 'report-earnings-' . date('d-m-Y H:i:s');
     Excel::create($name, function ($excel) {
         $excel->sheet('Publisher Advanced Report', function ($sheet) {
             $sheet->loadView('viewExcel', $this->dataEX);
         });
     })->export('xlsx');
     return View::make('viewExcel')->with('lists', $this->dataEX);
 }
示例#3
0
 public function postContactInfo(&$data)
 {
     $this->model = new PublisherModel();
     $Rules = $this->model->getContactInfoRules();
     $Langs = $this->model->getContactInfoLangs();
     $validate = \Validator::make(\Input::all(), $Rules, $Langs);
     if ($validate->passes()) {
         $insertData = array('first_name' => \Input::get('first_name'), 'last_name' => \Input::get('last_name'), 'title' => \Input::get('title'), 'company' => \Input::get('company'), 'address' => \Input::get('address'), 'city' => \Input::get('city'), 'state' => \Input::get('state'), 'postcode' => \Input::get('postcode'), 'country_id' => \Input::get('country'), 'phone' => \Input::get('phone'), 'fax' => \Input::get('fax'), 'email' => \Input::get('email'), 'payment_to' => \Input::get('payment_to'), 'site_name' => \Input::get('site_name'), 'site_url' => \Input::get('site_url'), 'site_description' => \Input::get('site_description'), 'status' => 0);
         // insert new publisher pending
         if ($publisher = $this->model->create($insertData)) {
             \Session::flash('success', 'Thank you! Your application has been submitted! Note All applications will be responded to within 5 working days from the date of submission');
             return redirect(\URL::to(Route('HomePage')));
         }
     } else {
         $data['validate'] = $validate->messages();
         return redirect('form')->withInput();
     }
     return redirect('form')->withInput();
 }
示例#4
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  Request  $request
  * @return Response
  */
 public function postStore(Request $request)
 {
     $this->validation->mergeRules('alias', ['regex:/^[a-zа-я\\d-]+$/', 'max:255']);
     if ($this->validation->fails()) {
         return $this->validation->errors()->toJson();
     }
     $content = new Content();
     $data = $request->all();
     $position = $this->currentModel->max('position');
     if (empty($data['alias'])) {
         $content->alias = Str::slug($data['name'], '-');
     } else {
         $content->alias = $data['alias'];
     }
     $content->date_start = Main::getDateFromPicker($data['date_start']);
     $content->position = ++$position;
     $content->save();
     $content->structure()->attach($data['structure_id']);
     $content->contentLang()->create(['name' => $data['name'], 'language_id' => $data['language_id'], 'description' => $data['description'], 'content' => $data['content']]);
     return Main::redirect(Route('edit_content', ['id' => $content->id]), '302', 'Content was saved', 'Saved', 'success');
 }
示例#5
0
include_once 'adminheader.tpl.php';
?>


<script type="text/javascript">
    $(document).ready(function(){
        //arts('add');onsubmit="return arts('add')" 
    });
</script>
<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Edit TimeWait Diary <small>Edit TimeWait Diary</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/timewait_edit/' . $timewaits['id']);
?>
" method="post" enctype="multipart/form-data">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">排序:</label>
						<div class="controls">
							<input type="text" style="width:50px" class="input-xlarge" id="role" name="order" value="<?php 
echo $timewaits['order'];
?>
" /><span class="validform"></span>
						</div>
					</div>
                    <div class="control-group">
						<label class="control-label" for="role">样式:</label>
						<div class="controls">
示例#6
0
include_once 'adminheader.tpl.php';
?>


<script type="text/javascript">
    $(document).ready(function(){
        arts('edit'); 
    });
</script>
<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Edit Article <small>Edit a Article</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/article_edit/' . $articles['id']);
?>
" method="post"  onsubmit="return arts('edit')">
				<fieldset>
                    <div class="control-group">
						<label class="control-label" for="active">置顶:</label>
						<div class="controls">
							<input type="checkbox" name='top' id="active" value="1" <?php 
if ($articles['top'] == '1') {
    echo "checked";
}
?>
/>
						</div>
					</div>
					<div class="control-group">
示例#7
0
<?php

include_once 'adminheader.tpl.php';
?>


<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Edit Tags <small>Edit a Tag</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/tag_edit/' . $tags['id']);
?>
" method="post">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">名称:</label>
						<div class="controls">
                            <input type="text" class="input-xlarge" id="role" name="username" value="<?php 
echo $tags['tag'];
?>
"/>
						</div>
					</div>
                    <div class="control-group">
						<label class="control-label" for="role">出现次数:</label>
						<div class="controls">
                            <input type="text" readOnly="true" class="input-xlarge" id="role" name="openid" value="<?php 
echo $tags['num'];
?>
示例#8
0
<?php

include_once 'adminheader.tpl.php';
?>


<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Edit Comments <small>Edit a Comment</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/comment_edit/' . $comments['id']);
?>
" method="post">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">昵称:</label>
						<div class="controls">
                            <input type="text" class="input-xlarge" id="role" name="nickname" value="<?php 
echo $comments['nickname'];
?>
"/>
						</div>
					</div>
                    <div class="control-group">
						<label class="control-label" for="description">评论内容:</label>
						<div class="controls">
							<textarea class="input-xlarge" id="description" rows="3" name="contents"><?php 
echo $comments['contents'];
?>
示例#9
0
<?php

include_once 'adminheader.tpl.php';
?>




<div class="span12">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Push <small>Edit Push</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/pushs');
?>
" method="POST" enctype="multipart/form-data">
                  <div class='push'>
                      <ul>
                          <?php 
foreach ($pushs as $push) {
    ?>
                          <li>
                              <div class="control-push">
                                  <label class="push-label" for="role">链接-<?php 
    echo $push['id'];
    ?>
:</label>
                                  <div class="push-controls">
                                      <input type="text" class="input-push" style="width:200px" id="role" name="pushurl[]" value="<?php 
    echo $push['pushurl'];
示例#10
0
            }
        }
        echo "</ul></li>";
    } else {
        echo "<li id=\"menu-" . $key . "\" class=\"menu-item menu-item-type-taxonomy menu-item-object-category menu-item-" . $key . ($nav == $key ? " current-menu-item" : "") . "\"><a href=" . Route('class/' . $key) . ">" . $val . "</a></li>";
    }
}
?>
            <li id="menu-8" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-7"><a href="<?php 
echo Route("admin/login");
?>
">她很漂亮</a></li>
            <li class="navto-search"><a href="javascript:;" class="search-show active"><i class="fa fa-search"></i></a></li>
        </ul>
        <i class="fa fa-bars m-icon-nav"></i>
      </div>
   </div>
</header>
<div class="site-search">
    <div class="container">
        <form method="post" class="site-search-form" action="<?php 
echo Route('index/search');
?>
" onsubmit="return searcha()">
            <input class="search-input" name="search" type="text" placeholder="输入关键字" value="" id='asearch'>
            <button class="search-btn" type="submit" name="dosubmit" value="dosubmit"><i class="fa fa-search"></i></button>
        </form>
    </div>
</div>

示例#11
0
        <article class='article-content'>
            <p><img class="alignnone size-full" style="border-radius:4px;-webkit-border-radius:4px;margin-top:10px;margin-bottom:10px;" src="http://cdn.duitang.com/uploads/item/201303/27/20130327202512_GcEC2.jpeg" alt="哈哈哈哈" width="640" height="426"></p>
            <p>&nbsp;</p>
        </article>
        <article class='archives'>
            <?php 
foreach ($articleClassList as $k => $ret) {
    ?>
            <div class='item'><h3><?php 
    echo $k . "月";
    ?>
</h3>            
                <ul class='archives-list'>                      
                    <?php 
    foreach ($ret as $article) {
        echo "<li><time>" . date('d', $article['ctime']) . "日</time>&nbsp;&nbsp;&nbsp;&nbsp;<a href=" . Route('articleshow/' . $article['id']) . ">" . $article['title'] . " </a>&nbsp;&nbsp;&nbsp;&nbsp;<span class='text-muted'><i class='fa fa-comment fa-fw'></i>" . $article['count'] . "</span></li>";
    }
    ?>
                
                </ul>
            </div>
            <?php 
}
?>
        </article>
    </div>
    </section>
      
<?php 
include_once 'newfooter.tpl.php';
?>
示例#12
0
<?php

include_once 'adminheader.tpl.php';
?>



<div class="span9">
          <div class="well hero-unit">
              <h1>Hi,Welcome</h1><br/><br/>
              <p style="font-family: 'Microsoft Yahei','Sans-serif';">”天下事没有完美的。“狐狸叹了口气,接着说:“我的生活很单调。我猎鸡,人猎我。所有鸡都是一样的,所有人也都是一样,因此让我乏味。但是你若驯服了我,就像阳光照亮了我的生命。我知道有一种脚步声和其他脚步声不一样,其他的脚步声只会使我飞快地躲会地底去,但你的脚步声像音乐一样,把我引出狐狸洞。看到那边的麦田吗?我不吃面包,面粉对我没用,麦田对我也没有吸引力,那很糟。但是你有一头金发,你想想,你若驯服了我,那该会有多好!那些金色的小麦都会让我想起你,我从此爱上麦田里的风声。</p>
              <br/><br/><p><a class="btn btn-success btn-large" href="<?php 
echo Route('admin/articles');
?>
">Look Articles &raquo;</a></p>
          </div>
          
        </div>
      </div>



<?php 
include_once 'adminfooter.tpl.php';
示例#13
0
<?php 
define("__Author__", "*****@*****.**");
require_once "Config.php";
/**
 * Start Vix App
 */
Vix::App("MyApp", function () {
    //Create Home Controller
    Create('Home', function () {
        // Create Route index
        Route('Index', function () {
            $crush = array("Name" => "Portia", "Surname" => "Maat");
            $temp = "templates/template1.php";
            View::Render($temp, $crush);
        });
        // Create route Hello
        Route('Hello', function () {
            echo "Yehey";
        });
    });
    // end of Home Controller
    //Create controller Test
    Create('Test', function () {
        Route('Hi', function () {
            echo "Hi poews :D";
        });
    });
});
?>
</body>
</html>
 /**
  * نمایش فرم افزودن پست
  *
  * @return Response
  */
 public function addPostForm()
 {
     $nbrPosts = $this->PostRepository->getNumber();
     $nbrComments = $this->CommentRepository->getNumber();
     $nbrTags = $this->PostRepository->getTags();
     $url = config('medias.url');
     $FormUrl = Route('insertPost');
     $FormMethod = "POST";
     return view('admin.Post.Form', compact('nbrTags', 'nbrPosts', 'nbrComments', 'FormUrl', 'FormMethod', 'url'));
 }
示例#15
0
    ?>
</span></td>
                    <td><?php 
    echo $comment['website'] ? "<a href=http://" . $comment['website'] . " target=\"_blank\">" . $comment['website'] . "</a>" : "<span>No Website</span>";
    ?>
</td>
					<td>
						<div class="btn-group">
							<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">Actions <span class="caret"></span></a>
							<ul class="dropdown-menu">
                                <li><a href="<?php 
    echo Route('admin/comment_edit/' . $comment['id']);
    ?>
"><i class="icon-pencil"></i> Edit</a></li>
								<li><a href="javascript:if(confirm('确定吗?'))window.location='<?php 
    echo Route('admin/comment_delete/' . $comment['id']);
    ?>
'"><i class="icon-trash"></i> Delete</a></li>
								<li class="nav-header">Hello Alice</li>
							</ul>
						</div>
					</td>
				</tr>
                <?php 
}
?>
				</tbody>
			</table>
            <?php 
echo $pageNav;
?>
示例#16
0
    ?>
"><i class="icon-pencil"></i> Edit</a></li>
								<li><a href="<?php 
    echo Route('admin/article_delete/' . $article['id']);
    ?>
"><i class="icon-trash"></i> Delete</a></li>
								<li class="nav-header">Hello Alice</li>
							</ul>
						</div>
					</td>
				</tr>
                <?php 
}
?>
			  </tbody>
			</table>
            <?php 
echo $pageNav;
?>
            <a href="<?php 
echo Route('admin/article_add');
?>
" class="btn btn-success">添加文章</a>
		  </div>
        </div>
      </div>



<?php 
include_once 'adminfooter.tpl.php';
示例#17
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  Request  $request
  * @return Response
  */
 public function postStore(Request $request)
 {
     $this->validation->mergeRules('alias', ['required', 'regex:/^[a-zа-я\\d-]+$/', 'unique:structure', 'max:255']);
     if ($this->validation->fails()) {
         return $this->validation->errors()->toJson();
     }
     $structure = new Structure();
     $data = $request->all();
     $position = $this->currentModel->where('parent_id', null)->max('position');
     $structure->alias = $data['alias'];
     $structure->parent_id = $data['parent_id'];
     $structure->controller = $data['controller'];
     $structure->position = ++$position;
     $structure->save();
     $structure->structureLang()->create(['name' => $data['name'], 'language_id' => $data['language_id'], 'description' => $data['description']]);
     return Main::redirect(Route('edit_structure', ['id' => $structure->id]), '302', 'Structure was saved', 'Saved', 'success');
 }
 public function myProfile($idu = '')
 {
     $currentUser = $this->user;
     $this->data['item'] = $currentUser;
     $id = $currentUser->id;
     //get list country
     $countryModel = new CountryBaseModel();
     $this->data['itemCountry'] = $countryModel->getAll();
     if (Request::isMethod('post')) {
         // check validate
         $validate = Validator::make(Input::all(), User::getUpdateUserRules(), User::getUpdateUserLangs());
         $flag = $this->checkValidatePass($this->data);
         if ($validate->passes() && $flag == TRUE) {
             $username = Input::get('username');
             $password = Input::get('re-password');
             $firstName = Input::get('first_name');
             $lastName = Input::get('last_name');
             $email = Input::get('email');
             $address = Input::get('address');
             $country = Input::get('country');
             $phone = Input::get('phone');
             $contact_phone = Input::get('contact_phone');
             try {
                 $userData = Sentry::findUserById($id);
                 $userData->username = $username;
                 if ($password != "") {
                     $userData->password = $password;
                 }
                 $userData->email = $email;
                 $userData->first_name = $firstName;
                 $userData->last_name = $lastName;
                 $userData->address = $address;
                 $userData->country_id = $country;
                 $userData->phone = $phone;
                 $userData->phone_contact = $contact_phone;
                 if ($userData->save()) {
                     $data['id'] = $userData->id;
                     $messages = trans("backend::publisher/text.update_success");
                     Session::flash('mess', $messages);
                     if ($idu != 0) {
                         $url = Route('ToolAdvertiserManagerShowUpdate', $id);
                     } else {
                         $url = Route('ToolAdvertiserManagerProfile');
                     }
                     return Redirect::to($url);
                 }
             } catch (\Cartalyst\Sentry\Users\WrongPasswordException $e) {
                 $this->data['message'] = "Passwords do not exactly";
             }
         } else {
             $this->data['validate'] = $validate->messages();
         }
     }
     $this->layout->content = View::make('myProfile', $this->data);
 }
示例#19
0
                                </div>
                            </div>
                        </div>
                    </div>
		        </div>
            </div>
            <div id="sign_form_container">
                <div id="normal_login_container">
                    <nav id="sign_nav">
                        <div class="on" id="sign_in_nav"><img style="width:140px;height:35px;" src="<?php 
echo IMAGE_DIR;
?>
navred.png">                        </div>
                    </nav>
                    <form action="<?php 
echo Route('admin/logingo');
?>
" class="form" id="sign_in" method="post">
                        <img style="border-radius: 50%;" alt="" id="avatar_preview" src="<?php 
echo IMAGE_DIR;
?>
toux.jpg">
                        <div class="field input_field">
                            <label><i class="fa fa-user" for="sign_in_username"></i>
                                <input class="input" data-validate="required email" id="sign_in_username" name="email" placeholder="你的邮箱" type="text" />                               
                            </label>
                        </div>
                        <div class="field input_field no-sign">
                            <label><i class="fa fa-key" for="sign_in_password"></i>
                                <input class="input" data-validate="required" id="sign_in_password" name="password" placeholder="密码" type="password" />
                            </label>
示例#20
0
    echo $articleC['title'];
    ?>
</span><span class="muted"><?php 
    echo date('Y-m-d', $articleC['ctime']);
    ?>
</span></a></li>         
                <?php 
}
?>
            </ul>            
            <ul class="tabc" style="display:none;">
                <?php 
foreach ($pushArticleList as $articleP) {
    ?>
                <li><a href="<?php 
    echo Route('articleshow/' . $articleP['id']);
    ?>
"><span class="thumbnail"><img  height="34" width="46" src="<?php 
    echo $articleP['image'] ? $articleP['image'] : IMG_DEFAULT;
    ?>
" alt="<?php 
    echo $articleP['title'];
    ?>
" class="thumb" /></span><span class="text"><?php 
    echo $articleP['title'];
    ?>
</span><span class="muted"><?php 
    echo date('Y-m-d', $articleP['ctime']);
    ?>
</span></a></li>         
                <?php 
示例#21
0
    ?>
"><i class="icon-pencil"></i> Edit</a></li>
								<li><a href="<?php 
    echo Route('admin/timewait_delete/' . $timewait['id']);
    ?>
"><i class="icon-trash"></i> Delete</a></li>
								<li class="nav-header">Hello Alice</li>
							</ul>
						</div>
					</td>
				</tr>
                <?php 
}
?>
			  </tbody>
			</table>
            <?php 
echo $pageNav;
?>
            <a href="<?php 
echo Route('admin/timewait_add');
?>
" class="btn btn-success">添加时光记录</a>
		  </div>
        </div>
      </div>



<?php 
include_once 'adminfooter.tpl.php';
示例#22
0
<?php

include_once 'adminheader.tpl.php';
?>




<div class="span12">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>BaiduPush <small>Baidu Push</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/go_baidu');
?>
" method="POST">
                  <div class='push'>
                      <ul>
                          <li>
                              <div class="control-push">
                                  <label class="push-label" for="role">文章链接:</label>
                                  <div class="push-controls">
                                      <input type="text" class="input-push" style="width:200px" id="role" name="pushbaidu[]" value=""/>
                                  </div>
                              </div>
                              <div class="control-push">
                                  <label class="push-label" for="role">链接二:</label>
                                  <div class="push-controls">
                                      <input type="text" class="input-push" style="width:200px" id="role" name="pushbaidu[]" value=""/>
                                  </div>
示例#23
0
    echo Route('');
    ?>
" class="badge badge-inverse"><?php 
    echo $tag['num'];
    ?>
</a></td>
					<td>
						<div class="btn-group">
							<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">Actions <span class="caret"></span></a>
							<ul class="dropdown-menu">
                                <li><a href="<?php 
    echo Route('admin/tag_edit/' . $tag['id']);
    ?>
"><i class="icon-lock"></i> Edit</a></li>
                                <li><a href="<?php 
    echo Route('admin/tag_delete/' . $tag['id']);
    ?>
"><i class="icon-trash"></i> Delete</a></li>
								<li class="nav-header">Hello Alice</li>
							</ul>
						</div>
					</td>
			    </tr>
                <?php 
}
?>
			   </tbody>
			</table>
              <?php 
echo $pageNav;
?>
示例#24
0
<body class="page page-id-2931 page-template page-template-pagestags-php comment-open site-layout-2 wc-shortcodes-font-awesome-enabled">

   
<?php 
include_once 'newnav.tpl.php';
?>
   
    
<div class="container container-page" style="margin-top: 40px;width: 720px;">
    <div class="pageside">
	   <div class="pagemenus">
		<ul class="pagemenu"></ul>
	   </div>
    </div>	
    <div class="content">
	  <header class="article-header"><h1 class="article-title"><i class="fa fa-tags"></i> 标签云</h1></header>
      <article class="article-content"></article>
		<div class="tag-clouds">
            <?php 
foreach ($Tagall as $tag) {
    echo "<a href=" . Route('tag/' . $tag['id']) . ">" . $tag['tag'] . "<small>(" . $tag['num'] . ")</small></a>";
}
?>
			<a href="#">她很漂亮<small>(520)</small></a>           
       </div>
	</div>
</div>    
       
<?php 
include_once 'newfooter.tpl.php';
示例#25
0
include_once 'adminheader.tpl.php';
?>

<script type="text/javascript">
    $(document).ready(function(){
       regs('edit'); 
    });
</script>
<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>Edit User <small>Edit a User</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/user_edit/');
?>
" method="post" onsubmit="return regs('edit')">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">昵称:</label>
						<div class="controls">
                            <input type="text" class="input-xlarge" id="role" name="username" value="<?php 
echo $users['username'];
?>
"/><span class="validform"></span>
						</div>
					</div>
                    <div class="control-group">
						<label class="control-label" for="role">邮箱:</label>
						<div class="controls">
示例#26
0
include_once 'adminheader.tpl.php';
?>


<script type="text/javascript">
    $(document).ready(function(){
       regs('add'); 
    });
</script>
<div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>New User <small>Add a new user</small></h1>
			</div>
              <form class="form-horizontal" action="<?php 
echo Route('admin/user_add');
?>
" method="post" onsubmit="return regs('add')">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">昵称:</label>
						<div class="controls">
                            <input type="text" class="input-xlarge" id="role" name="username" value="<?php 
echo $loginInfo['username'];
?>
"/><span class="validform"></span>
						</div>
					</div>
                    <div class="control-group">
						<label class="control-label" for="role">邮箱:</label>
						<div class="controls">
示例#27
0
                                    <strong><?php 
    echo $comment['nickname'];
    ?>
</strong>
                                </a>
                                <span class="separator">・</span><?php 
    echo wordTime($comment['ctime']);
    ?>
                            </div>
                            <div class="widgent_ui_comments_content"><?php 
    echo EmojiH($comment['contents']);
    ?>
</div>
                            <div class="widget_ui_comments_title">
                                <p>评论于<a href="<?php 
    echo Route('articleshow/' . $comment['aid']);
    ?>
"><?php 
    echo $comment['title'];
    ?>
</a></p>
                            </div>
                        </li>
                        <?php 
}
?>
                    </ul>
                </div>
                <div class="widget widget_text">			
                    <div class="textwidget">
                        <!--<span class="WB_FB_plus">
示例#28
0
 public function logout()
 {
     Auth::logout();
     return Redirect::intended(Route('home'));
 }