Exemplo n.º 1
0
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
        {{-- // <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> --}}
        <script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
        @yield('HeadInclude')
    </head>
    <body>
	<div id="page" class="hfeed site">
            <header id="masthead" class="site-header" role="banner">
                <div class="container" style="">
                <div id="logo" class="site-logo text-center" style="font-size: 30px;">
                <?php 
$company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first();
$system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
?>
				@if($system->url)
					<a href="{!! $system->url !!}" rel="home">
				@else
					<a href="{{url('/')}}" rel="home">
				@endif
                @if($company->use_logo == 1)
                	<img src="{{asset('lb-faveo/media/company')}}{{'/'}}{{$company->logo}}" alt="User Image" width="200px" height="200px"/>
                @else
                	@if($system->name)
                		{!! $system->name !!}
                	@else
                		<b>SUPPORT</b> CENTER
                	@endif
                @endif
Exemplo n.º 2
0
<div>
    <div class="content-header">
        <h4>{!! Lang::get('lang.ticket') !!} {!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-info pull-right'])!!}</h4>
    </div>
    <div class="row col-md-12">
        <div class="col-md-12 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
            {!! Form::label('help_topic', Lang::get('lang.choose_a_help_topic')) !!} 
            {!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
<?php 
$forms = App\Model\helpdesk\Form\Forms::get();
$helptopic = App\Model\helpdesk\Manage\Help_topic::get();
?>
                  
            <select name="helptopic" class="form-control" id="selectid">
            <?php 
$system_default_department = App\Model\helpdesk\Settings\System::where('id', '=', 1)->first();
if ($system_default_department->department) {
    $department_relation_helptopic = App\Model\helpdesk\Manage\Help_topic::where('department', '=', $system_default_department->department)->first();
    $default_helptopic = $department_relation_helptopic->id;
} else {
    $default_helptopic = 0;
}
?>
  
                <option value="{!! $default_helptopic !!}">Default</option>
                @foreach($helptopic as $topic)
                    <option value="{!! $topic->id !!}">{!! $topic->topic !!}</option>
                @endforeach
                {{-- @foreach($forms as $key=>$value) --}}
                    {{-- <option value="{!! $value->id !!}">{!! ucfirst($value->formname) !!}</option> --}}
                {{-- @endforeach --}}