1+
2+
3+
4+ <!doctype html>
5+ @include (' layouts.lang' )
6+ <head >
7+ <meta charset =" utf-8" >
8+ @php $GLOBALS [' themeName' ] = config (' advanced-config.home_theme' ); @endphp
9+ <meta name =" viewport" content =" width=device-width, initial-scale=1, shrink-to-fit=no" >
10+ @if (env (' CUSTOM_META_TAGS' ) == ' true' and config (' advanced-config.title' ) != ' ' )
11+ <title >{{ config (' advanced-config.title' ) } } </title >
12+ @else
13+ <title >{{ config (' app.name' ) } } </title >
14+ @endif
15+
16+ <!-- Favicon -->
17+ @if (file_exists (base_path (" assets/linkstack/images/" ). findFile (' favicon' )) )
18+ <link rel =" icon" type =" image/png" href =" {{ asset (' assets/linkstack/images/' . findFile (' favicon' )) } }" >
19+ @else
20+ <link rel =" icon" type =" image/svg+xml" href =" {{ asset (' assets/linkstack/images/logo.svg' ) } }" >
21+ @endif
22+
23+ <script src =" {{ asset (' assets/js/detect-dark-mode.js' )} }" ></script >
24+
25+ <!-- Library / Plugin Css Build -->
26+ <link rel =" stylesheet" href =" {{ asset (' assets/css/core/libs.min.css' )} }" />
27+
28+ <!-- Aos Animation Css -->
29+ <link rel =" stylesheet" href =" {{ asset (' assets/vendor/aos/dist/aos.css' )} }" />
30+
31+ @include (' layouts.fonts' )
32+
33+ <!-- Hope Ui Design System Css -->
34+ <link rel =" stylesheet" href =" {{ asset (' assets/css/hope-ui.min.css?v=2.0.0' )} }" />
35+
36+ <!-- Custom Css -->
37+ <link rel =" stylesheet" href =" {{ asset (' assets/css/custom.min.css?v=2.0.0' )} }" />
38+
39+ <!-- Dark Css -->
40+ <link rel =" stylesheet" href =" {{ asset (' assets/css/dark.min.css' )} }" />
41+
42+ <!-- Customizer Css -->
43+ @if (file_exists (base_path (" assets/dashboard-themes/dashboard.css" )) )
44+ <link rel =" stylesheet" href =" {{ asset (' assets/dashboard-themes/dashboard.css' )} }" />
45+ @else
46+ <link rel =" stylesheet" href =" {{ asset (' assets/css/customizer.min.css' )} }" />
47+ @endif
48+
49+ <!-- RTL Css -->
50+ <link rel =" stylesheet" href =" {{ asset (' assets/css/rtl.min.css' )} }" />
51+
52+
53+ </head >
54+
55+ @php
56+
57+ if ($_SERVER [' QUERY_STRING' ] != ' ' ) {
58+
59+ try {
60+
61+ $id = $_SERVER [' QUERY_STRING' ];
62+ $user = \App \Models \User:: where (' id' , $id )-> first ();
63+ $name = $user -> littlelink_name ;
64+ if ($name != null )$url = url (' ' ) . ' /@' . $name ;
65+
66+ } catch (\ Exception $e ) {}
67+
68+ }
69+
70+ @endphp
71+
72+ <body >
73+ <div class =" container-fluid" >
74+ <div class =" align-items-center justify-content-center d-flex min-vh-100" >
75+ <div class =" col-10 col-sm-8 col-md-6 col-lg-5" >
76+ <div class =" card shadow-lg card--bg-gray card--customized align-self-center" >
77+ <div class =" card-body" >
78+ <h1 class =" card-title" >{{ __ (' messages.report_violation' ) } } </h1 >
79+
80+ @if (session (' success' ) )
81+ <div class =" alert alert-left alert-success alert-dismissible fade show mb-3" role =" alert" >
82+ <span > {{ __ (' messages.report_success' ) } } </span >
83+ <button type =" button" class =" btn-close btn-close-white" data-bs-dismiss =" alert" aria-label =" Close" ></button >
84+ </div >
85+ @endif
86+
87+ @if (session (' error' ) )
88+ <div class =" alert alert-right alert-warning alert-dismissible fade show mb-3" role =" alert" >
89+ <span > {{ __ (' messages.report_error' ) } } </span >
90+ <button type =" button" class =" btn-close btn-close-white" data-bs-dismiss =" alert" aria-label =" Close" ></button >
91+ </div >
92+ @endif
93+
94+ <form action =" {{ url (' report' ) } }" enctype =" multipart/form-data" method =" post" >
95+ @csrf
96+ <input type =" hidden" name =" id" value =" {{ $id ?? null } }" >
97+ <input type =" hidden" name =" name" value =" {{ $name ?? null } }" >
98+ <div class =" mb-2 control-wrapper" >
99+ <div class =" label-container" >
100+ <label for =" url" class =" form-label" >{{ __ (' messages.url_label' ) } } *</label >
101+ </div >
102+ <input type =" url" class =" form-control" id =" url" name =" url" value =" {{ $url ?? null } }" >
103+ <div class =" display-msg" ></div >
104+ </div >
105+ <div class =" mb-2 control-wrapper" >
106+ <div class =" label-container" >
107+ <label for =" report-type" class =" form-label" >{{ __ (' messages.report_type_label' ) } } *</label >
108+ </div >
109+ <select id =" report-type" class =" form-control" name =" report-type" required >
110+ <option ></option >
111+ <option value =" {{ __ (' messages.hate_speech' ) } }" >{{ __ (' messages.hate_speech' ) } } </option >
112+ <option value =" {{ __ (' messages.violence_threats' ) } }" >{{ __ (' messages.violence_threats' ) } } </option >
113+ <option value =" {{ __ (' messages.illegal_activities' ) } }" >{{ __ (' messages.illegal_activities' ) } } </option >
114+ <option value =" {{ __ (' messages.copyright_infringement' ) } }" >{{ __ (' messages.copyright_infringement' ) } } </option >
115+ <option value =" {{ __ (' messages.misinformation_fake_news' ) } }" >{{ __ (' messages.misinformation_fake_news' ) } } </option >
116+ <option value =" {{ __ (' messages.identity_theft' ) } }" >{{ __ (' messages.identity_theft' ) } } </option >
117+ <option value =" {{ __ (' messages.drug_related_content' ) } }" >{{ __ (' messages.drug_related_content' ) } } </option >
118+ <option value =" {{ __ (' messages.weapons_harmful_objects' ) } }" >{{ __ (' messages.weapons_harmful_objects' ) } } </option >
119+ <option value =" {{ __ (' messages.child_exploitation' ) } }" >{{ __ (' messages.child_exploitation' ) } } </option >
120+ <option value =" {{ __ (' messages.fraud_scams' ) } }" >{{ __ (' messages.fraud_scams' ) } } </option >
121+ <option value =" {{ __ (' messages.privacy_violation' ) } }" >{{ __ (' messages.privacy_violation' ) } } </option >
122+ <option value =" {{ __ (' messages.impersonation' ) } }" >{{ __ (' messages.impersonation' ) } } </option >
123+ <option value =" {{ __ (' messages.other_specify' ) } }" >{{ __ (' messages.other_specify' ) } } </option >
124+ </select >
125+ <div class =" display-msg" ></div >
126+ </div >
127+ <div class =" mb-4 control-wrapper" >
128+ <div class =" label-container" >
129+ <label for =" message" class =" form-label" >{{ __ (' messages.additional_comments_label' ) } } </label >
130+ </div >
131+ <textarea class =" form-control" id =" message" name =" message" rows =" 3" ></textarea >
132+ <div class =" display-msg" ></div >
133+ </div >
134+ <button type =" submit" class =" btn btn-primary" >{{ __ (' messages.submit_button' ) } } </button >
135+ </form >
136+ </div >
137+ </div >
138+ </div >
139+ </div >
140+ </div >
141+ </body >
142+ <!-- Footer Section End -->
143+
144+ <!-- Library Bundle Script -->
145+ <script src =" {{ asset (' assets/js/core/libs.min.js' )} }" ></script >
146+
147+ <!-- External Library Bundle Script -->
148+ <script src =" {{ asset (' assets/js/core/external.min.js' )} }" ></script >
149+
150+ <!-- Widgetchart Script -->
151+ <script src =" {{ asset (' assets/js/charts/widgetcharts.js' )} }" ></script >
152+
153+ <!-- mapchart Script -->
154+ <script src =" {{ asset (' assets/js/charts/vectore-chart.js' )} }" ></script >
155+ <script src =" {{ asset (' assets/js/charts/dashboard.js' )} }" ></script >
156+
157+ <!-- fslightbox Script -->
158+ <script src =" {{ asset (' assets/js/plugins/fslightbox.js' )} }" ></script >
159+
160+ <!-- Settings Script -->
161+ <script src =" {{ asset (' assets/js/plugins/setting.js' )} }" ></script >
162+
163+ <!-- Slider-tab Script -->
164+ <script src =" {{ asset (' assets/js/plugins/slider-tabs.js' )} }" ></script >
165+
166+ <!-- Form Wizard Script -->
167+ <script src =" {{ asset (' assets/js/plugins/form-wizard.js' )} }" ></script >
168+
169+ <!-- AOS Animation Plugin-->
170+ <script src =" {{ asset (' assets/vendor/aos/dist/aos.js' )} }" ></script >
171+
172+ <!-- App Script -->
173+ <script src =" {{ asset (' assets/js/hope-ui.js' )} }" defer ></script >
174+
175+ <!-- Flatpickr Script -->
176+ <script src =" {{ asset (' assets/vendor/flatpickr/dist/flatpickr.min.js' )} }" ></script >
177+ <script src =" {{ asset (' assets/js/plugins/flatpickr.js' )} }" defer ></script >
178+
179+ <script src =" {{ asset (' assets/js/plugins/prism.mini.js' )} }" ></script >
180+ </html >
0 commit comments