pastebin

Paste Search Dynamic
Recent pastes
web
  1. <?php
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | contains the "web" middleware group. Now create something great!
  11. |
  12. */
  13.  
  14. Route::get('/ruta-uno', 'HomeController@ruta_uno');
  15. Route::get('/ruta-dos', 'HomeController@ruta_dos');
  16. Route::get('/ruta-tres', 'HomeController@ruta_tres');
  17. Route::get('/aboutus', 'HomeController@aboutus');
  18. Route::get('/customize', 'HomeController@customize');
  19. Route::get('/terms', 'HomeController@terms');
  20. Route::get('/shipping', 'ShippingController@index');
  21.  
  22. Route::get('/add-shipping', 'ShippingController@add');
  23. Route::post('/add-shipping', 'ShippingController@store');
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. Route::get('/my-account', 'HomeController@account');
  32. Route::get('/create-account', 'HomeController@register');
  33.  
  34.  
  35. Route::get('/', 'HomeController@category_blade');
  36.  
  37.  
  38. //Route::get('/', 'DiscountController@ajax_discount');
  39. Route::post('/autheti', 'CartController@sendmail');
  40. Route::get('/allreviews', 'ReviewController@index');
  41. Route::get('/reviews', 'ReviewController@view_all_reviews');
  42. Route::get('/add-new-review/{id}', 'ReviewController@review');
  43. Route::post('/add-new-review/{id}','ReviewController@store');
  44. Route::get('/inactive/{id}', 'ReviewController@inactive');
  45. Route::get('/review/active/{id}', 'ReviewController@active');
  46. Route::get('/cart', 'CartController@cart');
  47.  
  48. Route::post('/add-cart/', 'CartController@store');
  49.  
  50. Route::get('/delete-cart/{id}','CartController@delete');
  51.  
  52.  
  53. Route::get('/shopp', 'CartController@cartshop');
  54.  
  55. Route::get('/shopping-cart', 'CartController@shopping');
  56.  
  57.  
  58.  
  59. Route::get('/deactive/{id}', 'CartController@deactive');
  60. Route::get('/active/{id}', 'CartController@active');
  61.  
  62. Route::post('/shop-order', 'CartController@shop_order');
  63.  
  64. Route::get('/cupons', 'DiscountController@show_Discounts');
  65. Route::get('/details/{id}', 'DiscountController@discount_detail');
  66.  
  67.  
  68.  
  69. Route::get('/login', function () {return view('auth.login');});
  70.  
  71. Route::auth();
  72.  
  73.  
  74. ////////////////////////////DISCOUNTS
  75. Route::get('/create-cupons', 'HomeController@discount');
  76. Route::post('/discount-create', 'DiscountController@save');
  77. Route::post('/discount-compare', 'DiscountController@search');
  78.  
  79.  
  80. Route::get('/home', 'HomeController@index');
  81. Route::get('/index', 'HomeController@loged');
  82. Route::get('/user/{id}','User\UserController@show');
  83. Route::get('/user/edit/{id}','User\UserController@edit');
  84. Route::post('/user/edit/{id}','User\UserController@update');
  85. Route::get('/profile/image','User\UserController@profile_image');
  86. Route::post('/profile/image', 'User\UserController@update_avatar');
  87. Route::get('/users','User\UserController@index');
  88. Route::get('/add-user', function () {
  89.         return view('user.create');     });
  90.  
  91. Route::post('/add-user', 'User\UserController@create');
  92. Route::post('/web-user/register', 'User\UserController@new_user');
  93.  
  94. // filter user
  95. Route::post('/users', 'User\UserController@index');
  96.  
  97. Route::get('/usuario/{id}/eliminar','User\UserController@delete');
  98.  
  99.  
  100. Route::get('/standar/{id}', 'HomeController@product_standar');
  101. Route::get('/sub/standar/{id}', 'HomeController@sub_product_standar');
  102.  
  103. Route::get('/add-extra', 'ExtrasController@add_extra');
  104. Route::post('/add-extra', 'ExtrasController@save_extra');
  105. Route::get('/extra/{id}/delete', 'ExtrasController@delete');
  106.  
  107.  
  108. Route::get('/categories', 'CategoryController@index');
  109.  
  110. Route::get('/add-category', function () {
  111.         return view('category.addcategory');    });
  112.  
  113. Route::post('/add-category','CategoryController@store');
  114. Route::get('/category/{id}/eliminar', 'CategoryController@delete');
  115.  
  116. Route::get('/category/{id}/edit', 'CategoryController@edit_name_cate');
  117. Route::post('/category/{id}/edit', 'CategoryController@edit_category');
  118.  
  119.  
  120. /*PRODUCTOS */
  121. Route::get('/product/active/{id}', 'ProductController@product_active');
  122. Route::get('/product/inactive/{id}', 'ProductController@product_inactive');
  123.  
  124. Route::post('/weight/{id}', 'ProductController@weight');
  125.  
  126.  
  127. Route::get('/products', 'ProductController@index');
  128. Route::get('/add-products', 'ProductController@addproduct');
  129. Route::post('/add-products','ProductController@store');
  130.  
  131. Route::get('/product/{id}/edit-name', 'ProductController@edit_name_product');
  132. Route::post('/product/{id}/edit-name', 'ProductController@changed_name');
  133. Route::get('/product/{id}/eliminar', 'ProductController@delete');
  134. Route::get('/add-images/{id}', 'ImageController@add_product_image');
  135. Route::post('/add-images/{id}', 'ImageController@store_images');
  136. Route::get('/edit-pho/{id}', 'ImageController@edit_photo');
  137. Route::post('/edit-pho/{id}', 'ImageController@save_edit_photo');
  138.                        
  139.  
  140. Route::get('/edit-images/{id}', 'ImageController@found_product_image')->name('photo');
  141.  
  142. Route::get('/imagen/{id}/eliminar', 'ImageController@delete_image');
  143.  
  144.  
  145.  
  146. Route::get('/principal/{id}', 'ImageController@principal_image');
  147.  
  148.  
  149. Route::get('/product/{id}/edit-content', 'DescriptionController@found_product_content');
  150. Route::post('/product/{id}/edit-content', 'DescriptionController@store');
  151. Route::get('/text/{id}/eliminar', 'DescriptionController@delete_text');
  152.  
  153. Route::get('/info/{id}', 'InfoController@index');
  154. Route::get('/add-info/{id}', 'InfoController@add_info');
  155. Route::post('/add-info/{id}', 'InfoController@store');
  156. Route::get('/edit-info/{id}', 'InfoController@edit_info');
  157. Route::post('/edit-info/{id}', 'InfoController@store_edit_info');
  158. Route::get('/prices/{id}/delete', 'InfoController@delete');
  159.  
  160.  
  161. Route::get('/size/{id}', 'SizeController@index');
  162. Route::get('/add-size/{id}', 'SizeController@add_size');
  163. Route::post('/add-size/{id}', 'SizeController@store');
  164. Route::get('/edit-size/{id}', 'SizeController@edit_size');
  165. Route::post('/edit-size/{id}', 'SizeController@store_edit_size');
  166. Route::get('/size/{id}/delete', 'SizeController@delete');
  167.  
  168. Route::post('/product/{id}/alt', 'ImageController@alt_image');
  169. Route::post('/product/{id}/scope', 'ImageController@store_scope');
  170.  
  171. Route::post('/select-color/{id}', 'ColorController@select_cproduct');
  172. Route::get('/color/{id}', 'ColorController@index');
  173. Route::post('/color/{id}', 'ColorController@store');
  174. Route::get('/edit-color/{id}', 'ColorController@edit_name');
  175. Route::post('/edit-color/{id}', 'ColorController@save_edit_name');
  176.  
  177. Route::get('/color/{id}/delete', 'ColorController@delete');
  178. Route::post('/sub/select-color/{id}', 'ColorController@sub_select_cproduct');
  179. Route::get('/sub/color/{id}', 'ColorController@sub_index');
  180. Route::post('/sub/color/{id}', 'ColorController@sub_store');
  181. Route::get('/specfications/{id}', 'SpecificationController@index');
  182. Route::get('/add-specifications/{id}', 'SpecificationController@add');
  183. Route::post('/add-specifications/{id}', 'SpecificationController@store');
  184. Route::get('/delete-specifications/{id}', 'SpecificationController@delete');
  185. Route::get('/edit-specification/{id}', 'SpecificationController@edit');
  186. Route::post('/edit-specification/{id}', 'SpecificationController@store_edit');
  187.  
  188. /*SUBPRODUCTOS */
  189.  
  190. Route::get('/extras', 'ExtrasController@index');
  191.  
  192.  
  193. Route::get('/add-sub-product/{id}', 'ProductController@add_sub_product');
  194.  
  195. Route::post('/add-sub-product/{id}', 'ProductController@save_sub_product');
  196.  
  197.  
  198. Route::get('/edit-subimages/{id}', 'ImageController@sub_found_subproduct_image')->name('photo');
  199. Route::post('/edit-subimages/{id}', 'ImageController@sub_store_images');
  200.  
  201.  
  202.  
  203. //////////////////
  204. Route::get('/sub/add-images/{id}', 'ImageController@sub_add_product_image');
  205. Route::post('/sub/add-images/{id}', 'ImageController@sub_store_images');
  206. Route::get('/sub/edit-pho/{id}', 'ImageController@sub_edit_photo');
  207. Route::post('/sub/edit-pho/{id}', 'ImageController@save_edit_photo');
  208.  
  209.  
  210. Route::post('/sub/size/{id}', 'ImageController@size_image');
  211.  
  212. Route::get('/subproduct/{id}/edit-content', 'DescriptionController@sub_found_product_content');
  213. Route::post('/subproduct/{id}/edit-content', 'DescriptionController@sub_store');
  214.  
  215. Route::get('/sub-info/{id}', 'InfoController@sub_index');
  216. Route::get('/sub-add-info/{id}', 'InfoController@sub_add_info');
  217. Route::post('/sub-add-info/{id}', 'InfoController@sub_store');
  218. Route::get('/sub-edit-info/{id}', 'InfoController@sub_edit_info');
  219. Route::post('/sub-edit-info/{id}', 'InfoController@sub_store_edit_info');
  220. Route::post('/subproduct/{id}/alt', 'ImageController@alt_image');
  221. Route::get('/sub/principal/{id}', 'ImageController@sub_principal_image');
  222. Route::get('/sub/size/{id}', 'SizeController@sub_index');
  223. Route::get('/sub/add-size/{id}', 'SizeController@sub_add_size');
  224. Route::post('/sub/add-size/{id}', 'SizeController@sub_store');
  225. Route::get('/sub/edit-size/{id}', 'SizeController@edit_size');
  226. Route::post('/sub/edit-size/{id}', 'SizeController@store_edit_size');
  227. Route::get('/size/{id}/delete', 'SizeController@delete');
  228.  
  229. Route::get('/sub/specfications/{id}', 'SpecificationController@sub_index');
  230. Route::get('/sub/add-specifications/{id}', 'SpecificationController@sub_add');
  231. Route::post('/sub/add-specifications/{id}', 'SpecificationController@sub_store');
  232.  
  233.  
  234. /*BANNERS */
  235.  
  236. Route::get('/banners', 'BannerController@index');
  237. Route::get('/add-banner', function () {return view('banners.add-banner'); });
  238. Route::post('/add-banner','BannerController@store');
  239. Route::get('/banner/{id}/eliminar', 'BannerController@delete');
  240. Route::post('/ban/{id}/alt', 'BannerController@alt_image');
  241. Route::get('/edit-banner/{id}', 'BannerController@edit');
  242. Route::post('/edit-banner/{id}', 'BannerController@store_edit');
  243.  
  244.  
  245.  
  246.  
  247.  
  248. /*PRODUCTS DETAIL*/
  249. Route::get('/blankpage', 'ProductController@blank_page');
  250. Route::get('/{id}/{name}', 'ProductController@product_details');
  251.  
  252.  
  253.  
  254. // stripe
  255.  
  256. Route::get('stripe', 'CartController@cart@stripe');
  257. Route::post('stripe', 'CartController@cart@stripePost')->name('stripe.post');
  258.  
  259.  
  260. Route::get('/logout', 'Auth\LoginController@logout')->name('logout' );
  261.  
  262.  
  263. Route::get('/cart-1', 'CartController@view1');
  264. Route::get('/cart-2', 'CartController@view2');
  265. Route::get('/cart-3', 'CartController@view3');
  266. Route::get('/cart-4', 'CartController@view4');
  267.  
  268. ?>
Parsed in 0.218 seconds