Skip to content

Instantly share code, notes, and snippets.

@HelloAlberuni
Created January 8, 2018 11:20
Show Gist options
  • Save HelloAlberuni/2020e8f2e0b185247061cb0e74853d4a to your computer and use it in GitHub Desktop.
Save HelloAlberuni/2020e8f2e0b185247061cb0e74853d4a to your computer and use it in GitHub Desktop.
$layout = isset($_GET['layout']) ? $_GET['layout'] : 'fullw';
switch($layout){
case 'left':
$shoplayout = 'left';
$shopcolclass = 9;
break;
case 'right':
$shoplayout = 'right';
$shopcolclass = 9;
break;
default:
$shoplayout = 'fullw';
$shopcolclass = 12;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment