The Cure

stubz

stubz
About
Age:27
Sex:Male
Location: Manchester, UK
Sign:Pisces
About Me:
Signature:"You Couldn’t Envision, the Countless Incision, or what sparked the Ignition, to be in this Position When Suicide is ya Inescapable Decision, When the nights I Cried made me Capable of Quitting"
Contact
AIM:
Yahoo:
Windows Live:
ICQ:
Website:
Activity
Member Since:2/8/2002
Profile Views:
Total Posts:15421 User Rank
Tag Cloud:| Tags:  Add [+]

My Photos

There are no photos for this member

My Blog

There are no entries for this member

My Comments

.....

I'm starting to worry about you... I hope everything is okay.

get a life you ugly old loser and stay out of my profile you obsessed unwanted loser by the way eve

get a life you ugly old loser and stay out of my profile you obsessed unwanted loser by the way everyone knows you're an old loser with a fake s/n pretending to be a teenager ugly old retard and stay out of my profile you obsessed unwanted loser, no-one is interested in you hence you having to make other s/n's to pretend you have friends, at least mine are real unlike you fake try-hard ugly old loser xXBatteryXx

Wtf...

Wake up! lmao

Eh... wasn't that great of a post...

I don't even remember what I said. How sad is that?!?

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

........

The forums are just as crazy as when you left.....

Never knew I'd miss your posts like I do. This one member started a rap battle topic, and of course few posted. Then it continued its journey to the next page. How quickly the rhymes were forgotten, right along with all the other interesting posts. Because nothing but spam exists now. Even Kirkyin is following suit, by breaking the page with his money signs! The hacking is beyond anything I've ever seen in here before! But at least now I know how to still post in those topics... to bump the hackers post off the page. You would truly be proud. I even involved the least likely person to figure out how to remove the redirects. To his unveil... I couldn't even do it back to them. Which I'm sure makes them happy... Because isn't it so amusing to ruin a persons only escape. I've never felt so disconnected in here. Isolated... and all alone. You are truly missed!!!

Comment.

Heyy, I'm Nikki. Whatsss up!?

yo

just wondering. and yea what about is it similar to em?? i kinda do too

yo

u rap?

Sent you a friend request...

You never responded... Are you even online?

.....

Hash...

hi stubz

i'm new girl in this website can you be my friend cause you are the bigest fan of eminem

Sup...

Are you still online?

Hey

Evidentally you don't know Battery then.

okay then?

you mean battery?.. i dont think she is this all shit creating "troll" everyone makes her out to, she gets afr more hate than she deserves here, if people leave her alone she leaves you alone, and i dint suck up to anyone, or be a chicken shit to anyone, why wud i be chicken shit over the internet? i just say what i mean, but whatever.

the forum's worst troll

but then you sucked up to her like a little chicken shit hahahahaha

haha

I like how you handled that, I'll have to try that next time lol

Hi

Hey bro i saw you on msn but you disapeared lol i thought you got angry i didn't answer you back, sorry about that i was busy. Yeah i really like your lyrics and i don't really mind about the voice just as long the track sounds good your all good! Sure i have a friend who makes beats and i can hook you up to his website. www.krisrinstrumentals.com and if you interested in any beats send him a msg or email and say Frank redirected me so i can get commision from him lol. Also i have a few beat collabs i did with him on there so check them out. If i have anything for you I'll let you listen to it over msn and you can tell me what you think. Take care bro.

Hey

It's me. I am sorry because I was stupid. I didn't know that. Sorry.

Hey hey

Going off to sleep, it's 4am here. Trying to make it an early nigh lol Next time we'll swap im's ;) Good chatting

STFU

FUCKTARD

Hi

If you ever need beats hit me up and I'll see what i can do. Keep rhyming bro and i wish you the best.

the drugs'll do that to ya

dude pulled a knife on his daughter he cryin

Our thread...

Sign on, read it! Hash!

Hi

I left you feedback on your rhymes bro. :)

heyy.

Hey I'm Nikki. What's up?

My Random Ass!!!

I finally heard "I feel like dying, by LiL Wayne!" I was surprised you would enjoy something that slow... Check this out.... " Eazy E & Too Short " Players Club " http://www.youtube.com/watch?v=zfCYJj16dDY&feature=autoplay&list=PL07A8A1F3E159449D&index=5&playnext=3

.SDIK RUOY EDIH .ELIHPODEP A SI ZBUTS

.SDIK RUOY EDIH .ELIHPODEP A SI ZBUTS 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’:

It was about that time..

Sorry for abruptness...

new day

Hey Stubz, you ok? sos about the heated discussion on MSN, i'll be honest with you, when my friend Michael texted me to say he's ill I went shops and got some wine for myself and I was kinda tipsy/drunk and since that's an issue that I have a strong view on it got ugly. Everyone has a different taste in things they like. Anyway it's a new day today. Hope everythings orrite with you.

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

.

=ETUTITSORP 'ZBUTS = NOSPMOHTANELE 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’)

Thank you...

In a few...

.

1.public function rewrite($link) 2.{ 3.if ($this->config->get(‘config_seo_url’)) 4.{ 5.$url_data = parse_url(str_replace(‘&’, ‘&’, $link)); 6. 7.$url = ”; 8. 9.$data = array(); 10. 11.parse_str($url_data[‘query’], $data); 12. 13.switch($data[‘route’]) 14.{ 15.case ‘product/product’: 16.$this->load->model(‘catalog/product’); 17.$product = $this->model_catalog_product->getProduct($data[‘product_id’]); 18.//get product categories 19.$path = ”; 20.if(!isset($this->request->get[‘path’]) || empty($this->request->get[‘path’])) 21.{ 22.$categories = $this->model_catalog_product->getCategories($product[‘product_id’]); 23.if(!empty($categories)) 24.{ 25.$path = $this->model_catalog_product->getPath($categories[’0'][‘category_id’]); 26.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 27.} 28.} 29.else 30.{ 31.$path = $this->request->get[‘path’]; 32.} 33.$url = $this->config->get(‘config_url’).‘product/’.$data[‘product_id’].‘/’.(!empty($path)?$path.‘/’:”).$this->toSlug($product[‘name’]); 34.break; 35.case ‘product/category’: 36.$this->load->model(‘catalog/category’); 37.$this->load->model(‘catalog/product’); 38.$categoryId = explode(‘_’,$data[‘path’]); 39.$path = ”; 40.if(count($categoryId) == 1) 41.{ 42.$path = $this->model_catalog_product->getPathUp($categoryId[’0']); 43.$path = substr($path,-1,1)==‘_’?substr($path,0,strlen($path)-1):$path; 44.} 45. 46.$categoryId = $categoryId[(count($categoryId)-1)]; 47.$category = $this->model_catalog_category->getCategory($categoryId); 48.$url = $this->config->get(‘config_url’).‘category/’.($path?$path:$data[‘path’]).‘/’.$this->toSlug($category[‘name’]); 49.break; 50.case ‘information/information’: 51.$this->load->model(‘catalog/information’); 52.$info = $this->model_catalog_information->getInformation($data[‘information_id’]); 53.$url = $this->config->get(‘config_url’).‘information/’.$data[‘information_id’].‘/’.$this->toSlug($info[‘title’]); 54.break; 55.default: 56.$route = explode(‘/’,$data[‘route’]); 57.$url = $this->config->get(‘config_url’).$data[‘route’]; 58. 59.break; 60.} 61.if(!empty($url)) 62.{ 63. 64.unset($data[‘route’],$data[‘path’],$data[‘product_id’],$data[‘information_id’]); 65.$query = ”; 66. 67.if ($data) 68.{ 69.foreach ($data as $key => $value) 70.{ 71.$query .= ‘&’ . $key . ‘=’ . $value; 72.} 73. 74.if ($query) 75.{ 76.$query = ‘?’ . trim($query, ‘&’); 77.} 78.} 79.return $url.$query; 80.} 81.return $link; 82. 83.} else 84.{ 85.return $link; 86.} 87.} 88. 89.public function toSlug($name) 90.{ 91.$name = str_replace("’", "", $name); 92.$name = str_replace(‘"’, "", $name); 93.$name = strtolower($name); 94.$name = preg_replace("/&#?[a-z0-9]+;/i","",$name); 95.$name = preg_replace(‘/[^a-zA-Z0-9-]/’, ‘-’, $name); 96.$name = preg_replace(‘/-+/’, "-", $name); 97.return $name; 98.} then change catalog/controller/common/seo_url.php 1.public function index() 2.{ 3.if (isset($this->request->get[‘_route_’])) 4.{ 5.$parts = explode(‘/’, $this->request->get[‘_route_’]); 6.$routes = array(‘category’,‘product’,‘information’,‘account’,‘common’,‘checkout’); 7. 8.if(in_array($parts[0], $routes)) 9.{ 10.switch($parts[0]) 11.{ 12.case ‘category’: 13.$this->request->get[‘path’] = $parts[1]; 14.break; 15.case ‘product’: 16.$this->request->get[‘product_id’] = $parts[1]; 17.$this->request->get[‘path’] = $parts[2]; 18.break; 19.case ‘information’: 20.$this->request->get[‘information_id’] = $parts[1]; 21.break; 22.default: 23.$this->request->get[‘route’] = $this->request->get[‘_route_’]; 24.break; 25.} 26.} 27.else 28.{ 29.foreach ($parts as $part) 30.{ 31.$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = ‘" . $this->db->escape($part) . "’"); 32. 33.if ($query->num_rows) 34.{ 35.$url = explode(‘=’, $query->row[‘query’]); 36. 37.if ($url[0] == ‘product_id’) 38.{ 39.$this->request->get[‘product_id’] = $url[1]; 40.} 41. 42.if ($url[0] == ‘category_id’) 43.{ 44.if (!isset($this->request->get[‘path’])) 45.{ 46.$this->request->get[‘path’] = $url[1]; 47.} else 48.{ 49.$this->request->get[‘path’] .= ‘_’ . $url[1]; 50.} 51.} 52. 53.if ($url[0] == ‘manufacturer_id’) 54.{ 55.$this->request->get[‘manufacturer_id’] = $url[1]; 56.} 57. 58.if ($url[0] == ‘information_id’) 59.{ 60.$this->request->get[‘information_id’] = $url[1]; 61.} 62.} else 63.{ 64.$this->request->get[‘route’] = ‘error/not_found’; 65.} 66.} 67.} 68. 69.if (isset($this->request->get[‘product_id’])) 70.{ 71.$this->request->get[‘route’] = ‘product/product’; 72.} elseif (isset($this->request->get[‘path’])) 73.{ 74.$this->request->get[‘route’] = ‘product/category’; 75.} elseif (isset($this->request->get[‘manufacturer_id’])) 76.{ 77.$this->request->get[‘route’] = ‘product/manufacturer’; 78.} elseif (isset($this->request->get[‘information_id’])) 79.{ 80.$this->request->get[‘route’] = ‘information/information’; 81.} 82. 83.if (isset($this->request->get[‘route’])) 84.{ 85.return $this->forward($this->request->get[‘route’]); 86.} 87.} 88.}

you!

i think u are some of the little part of no spammers are hear! nice to meet u stubz, i was in your country little time ago my girl lives there.(see is a kind of hippie girl or something like that serching liberty places and new). just to say ive been here since infinite im not a love the way u lie fan, and im gald you comment me. i hope i talk more with u in future, and im trying to improv my english , not need to say i progress a lot with em music(english learning i mean , i love his voice and his music and im not homosexual!)

Post Comment

Friends

ForexEminem

Vranje Ser, Detroit, YU

roger4200

It's really 'NONE', CN

helsley

princeton, IN, US

BLC OKC

city of ruin, UT, US

KylieCook

lincolnshire, UK

schehrazade

gonbad city, IR

nena1234

sunnyvale, CA, US

13NICHOLE

Harlan, IA, US

Jamal08

Tasnad, RO

dtlove

Mckeesport, PA, US

FuJingGe

Fuxin, liaoning province, CN

barbmathers

Campbell River , B.C, CA

jhasa

Plano, TX, US

mumstheword

Portland, OR, US

Eluvs

Portland, OR, US

Add Friend
There are no messages.
Suretone