dbTalk Databases Forums  

Selecting next 3 dates from 2 columns

comp.databases.mysql comp.databases.mysql


Discuss Selecting next 3 dates from 2 columns in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris W
 
Posts: n/a

Default Selecting next 3 dates from 2 columns - 02-25-2011 , 07:50 AM






I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
Date1,
Unix_Timestamp(Date1) AS UnixTime,
Date2
FROM Table1
WHERE
(Date2 > SUBDATE(Now(), 1))
OR
(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

Reply With Quote
  #2  
Old   
Luuk
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-25-2011 , 08:07 AM






On 25-02-11 14:50, Chris W wrote:
Quote:
I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
Date1,
Unix_Timestamp(Date1) AS UnixTime,
Date2
FROM Table1
WHERE
(Date2 > SUBDATE(Now(), 1))
OR
(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris
SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....


--
Luuk

Reply With Quote
  #3  
Old   
Chris W
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-25-2011 , 09:09 AM



On Feb 25, 2:07*pm, Luuk <L... (AT) invalid (DOT) lan> wrote:
Quote:
On 25-02-11 14:50, Chris W wrote:









I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). *I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. *I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
* *Date1,
* *Unix_Timestamp(Date1) AS UnixTime,
* *Date2
FROM Table1
WHERE
* *(Date2 > SUBDATE(Now(), 1))
* *OR
* *(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. *I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk
Thanks for the reply. I hadn't realised you could use a join
statement like that. It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. Your code seems
like a good starting point tho.

Chris

Reply With Quote
  #4  
Old   
Captain Paralytic
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-25-2011 , 09:18 AM



On Feb 25, 3:09*pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
Quote:
On Feb 25, 2:07*pm, Luuk <L... (AT) invalid (DOT) lan> wrote:









On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). *I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. *I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
* *Date1,
* *Unix_Timestamp(Date1) AS UnixTime,
* *Date2
FROM Table1
WHERE
* *(Date2 > SUBDATE(Now(), 1))
* *OR
* *(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. *I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. *I hadn't realised you could use a join
statement like that. *It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. *Your code seems
like a good starting point tho.

Chris
He didn't use a JOIN statement. JOIN statements are recognisable by
having the word "JOIN" in them (in the case fo explicit joins) or
commas separating input tables (in the case if implicit joins).

He used a UNION statement.

Reply With Quote
  #5  
Old   
The Natural Philosopher
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-25-2011 , 09:23 AM



Captain Paralytic wrote:
Quote:
On Feb 25, 3:09 pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
On Feb 25, 2:07 pm, Luuk <L... (AT) invalid (DOT) lan> wrote:









On 25-02-11 14:50, Chris W wrote:
I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:
SELECT
Date1,
Unix_Timestamp(Date1) AS UnixTime,
Date2
FROM Table1
WHERE
(Date2 > SUBDATE(Now(), 1))
OR
(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"
(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.
What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. I had also
thought I might be able to use an if or case statement either in the
select or where clauses.
Any insight will be very grateful!
Chris
SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3
This should give the max 3 dates.....
--
Luuk
Thanks for the reply. I hadn't realised you could use a join
statement like that. It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. Your code seems
like a good starting point tho.

Chris

He didn't use a JOIN statement. JOIN statements are recognisable by
having the word "JOIN" in them (in the case fo explicit joins) or
commas separating input tables (in the case if implicit joins).

He used a UNION statement.
Good point.

Reply With Quote
  #6  
Old   
Chris W
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-25-2011 , 01:51 PM



On Feb 25, 3:18*pm, Captain Paralytic <paul_laut... (AT) yahoo (DOT) com> wrote:
Quote:
On Feb 25, 3:09*pm, Chris W <q... (AT) live (DOT) co.uk> wrote:









On Feb 25, 2:07*pm, Luuk <L... (AT) invalid (DOT) lan> wrote:

On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). *I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. *I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
* *Date1,
* *Unix_Timestamp(Date1) AS UnixTime,
* *Date2
FROM Table1
WHERE
* *(Date2 > SUBDATE(Now(), 1))
* *OR
* *(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, thatI
can then sort, but I'm not sure how to accomplish that. *I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. *I hadn't realised you could use a join
statement like that. *It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. *Your code seems
like a good starting point tho.

Chris

He didn't use a JOIN statement. JOIN statements are recognisable by
having the word "JOIN" in them (in the case fo explicit joins) or
commas separating input tables (in the case if implicit joins).

He used a UNION statement.
Sorry - my misunderstanding - thanks for pointing it out

Reply With Quote
  #7  
Old   
Chris
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-26-2011 , 06:45 AM



On Feb 25, 3:09*pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
Quote:
On Feb 25, 2:07*pm, Luuk <L... (AT) invalid (DOT) lan> wrote:









On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). *I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. *I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
* *Date1,
* *Unix_Timestamp(Date1) AS UnixTime,
* *Date2
FROM Table1
WHERE
* *(Date2 > SUBDATE(Now(), 1))
* *OR
* *(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. *I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. *I hadn't realised you could use a join
statement like that. *It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. *Your code seems
like a good starting point tho.

Chris
I'm still trying to work this out.

The SQL is actually for an events list. Each event has a booking
deadline and the date it actually takes place. I've now got:

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Venue, EventName, Date1, Date2, Date2 as D From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY CombinedDate ASC;

However, this returns 2 rows for each event. Is there a way to only
return 1 row - so that, for example, in my final list of 3 events,
each 3 are different even if one of the events has a booking deadline
of tomorrow, an event date of the day after and the other 2 events
both have event dates after that?

Thanks
Chris

Reply With Quote
  #8  
Old   
Luuk
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 02-26-2011 , 07:08 AM



On 26-02-11 13:45, Chris wrote:
Quote:
On Feb 25, 3:09 pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
On Feb 25, 2:07 pm, Luuk <L... (AT) invalid (DOT) lan> wrote:









On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
Date1,
Unix_Timestamp(Date1) AS UnixTime,
Date2
FROM Table1
WHERE
(Date2 > SUBDATE(Now(), 1))
OR
(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. I hadn't realised you could use a join
statement like that. It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. Your code seems
like a good starting point tho.

Chris

I'm still trying to work this out.

The SQL is actually for an events list. Each event has a booking
deadline and the date it actually takes place. I've now got:

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Venue, EventName, Date1, Date2, Date2 as D From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY CombinedDate ASC;

However, this returns 2 rows for each event. Is there a way to only
return 1 row - so that, for example, in my final list of 3 events,
each 3 are different even if one of the events has a booking deadline
of tomorrow, an event date of the day after and the other 2 events
both have event dates after that?

Thanks
Chris

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D
From Table1
INNER JOIN (
SELECT ID, Date1 as D
From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Date2, Date2 as D
From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY D DESC
LIMIT 3) X ON Table1.ID=X.ID
ORDER BY X.D

--
Luuk

Reply With Quote
  #9  
Old   
Chris
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 03-02-2011 , 06:47 AM



On 26 Feb, 13:08, Luuk <L... (AT) invalid (DOT) lan> wrote:
Quote:
On 26-02-11 13:45, Chris wrote:



On Feb 25, 3:09 pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
On Feb 25, 2:07 pm, Luuk <L... (AT) invalid (DOT) lan> wrote:

On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). *I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. *I'm converting Date1 to a Unix Timestamp. I've got asfas
as the following code:

SELECT
* *Date1,
* *Unix_Timestamp(Date1) AS UnixTime,
* *Date2
FROM Table1
WHERE
* *(Date2 > SUBDATE(Now(), 1))
* *OR
* *(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. *I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. *I hadn't realised you could use a join
statement like that. *It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. *Your code seems
like a good starting point tho.

Chris

I'm still trying to work this out.

The SQL is actually for an events list. *Each event has a booking
deadline and the date it actually takes place. *I've now got:

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Venue, EventName, Date1, Date2, Date2 as D From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY CombinedDate ASC;

However, this returns 2 rows for each event. *Is there a way to only
return 1 row - so that, for example, in my final list of 3 events,
each 3 are different even if one of the events has a booking deadline
of tomorrow, an event date of the day after and the other 2 events
both have event dates after that?

Thanks
Chris

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D
From Table1
INNER JOIN (
* * * * SELECT ID, Date1 as D
* * * * From Table1
* * * * WHERE Date1 > SUBDATE(Now(),1)
* * * * UNION
* * * * SELECT ID, Date2, Date2 as D
* * * * From Table1
* * * * WHERE Date2 > SUBDATE(Now(),1)
* * * * ORDER BY D DESC
* * * * LIMIT 3) X ON Table1.ID=X.ID
ORDER BY X.D

--
Luuk
Thanks for all the helpful suggestions. Unfortunately, Luuk's code
still returned 2 rows for each event (for which I take responsibility
for not explaining my problem / data well enough); however, taking a
different approach, I've found that the following works, and seems
fairly efficient:

SELECT EventID, Name, Venue, Date1, Date2,
CASE
WHEN Unix_Timestamp(Date1) > UNIX_TIMESTAMP()
THEN Date1 ELSE Date2
END AS 'D'
FROM Events
HAVING Unix_Timestamp(D) > UNIX_TIMESTAMP()
ORDER BY D ASC LIMIT 3;

Chris

Reply With Quote
  #10  
Old   
Luuk
 
Posts: n/a

Default Re: Selecting next 3 dates from 2 columns - 03-02-2011 , 02:23 PM



On 02-03-11 13:47, Chris wrote:
Quote:
On 26 Feb, 13:08, Luuk <L... (AT) invalid (DOT) lan> wrote:
On 26-02-11 13:45, Chris wrote:



On Feb 25, 3:09 pm, Chris W <q... (AT) live (DOT) co.uk> wrote:
On Feb 25, 2:07 pm, Luuk <L... (AT) invalid (DOT) lan> wrote:

On 25-02-11 14:50, Chris W wrote:

I've got a table where 2 of the columns are dates, Date1 and Date2.
One of the columns (Date1) can be null (0000-00-00). I want to query
the db so that I retrieve the next 3 dates, regardless of which column
they're in. I'm converting Date1 to a Unix Timestamp. I've got as fas
as the following code:

SELECT
Date1,
Unix_Timestamp(Date1) AS UnixTime,
Date2
FROM Table1
WHERE
(Date2 > SUBDATE(Now(), 1))
OR
(((Date1 = 0000-00-00 && (Date2 > SUBDATE(Now(), 1)))))
ORDER BY IF(UnixTime<>0, `UnixTime`, `Date2`), UnixTime"

(and then I know I'll need LIMIT 3 at the end...); however, the ORDER
BY still means that a date2 date that is before a Date1 date is not
returned in the correct order.

What I have envisaged I'd need to return is a combined column, that I
can then sort, but I'm not sure how to accomplish that. I had also
thought I might be able to use an if or case statement either in the
select or where clauses.

Any insight will be very grateful!

Chris

SELECT Date1 as D From Table1
UNION
SELECT Date2 as D From Table1
ORDER BY D DESC
LIMIT 3

This should give the max 3 dates.....

--
Luuk

Thanks for the reply. I hadn't realised you could use a join
statement like that. It is actually more complex than I originally
stated - I do have more columns in the table, and I do want to be able
to print out both date columns from the next 3 dates. Your code seems
like a good starting point tho.

Chris

I'm still trying to work this out.

The SQL is actually for an events list. Each event has a booking
deadline and the date it actually takes place. I've now got:

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Venue, EventName, Date1, Date2, Date2 as D From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY CombinedDate ASC;

However, this returns 2 rows for each event. Is there a way to only
return 1 row - so that, for example, in my final list of 3 events,
each 3 are different even if one of the events has a booking deadline
of tomorrow, an event date of the day after and the other 2 events
both have event dates after that?

Thanks
Chris

SELECT ID, Venue, EventName, Date1, Date2, Date1 as D
From Table1
INNER JOIN (
SELECT ID, Date1 as D
From Table1
WHERE Date1 > SUBDATE(Now(),1)
UNION
SELECT ID, Date2, Date2 as D
From Table1
WHERE Date2 > SUBDATE(Now(),1)
ORDER BY D DESC
LIMIT 3) X ON Table1.ID=X.ID
ORDER BY X.D

--
Luuk

Thanks for all the helpful suggestions. Unfortunately, Luuk's code
still returned 2 rows for each event (for which I take responsibility
for not explaining my problem / data well enough); however, taking a
different approach, I've found that the following works, and seems
fairly efficient:

Dont feel responable for that, it could als have been /me not reading
your problem correct

Quote:
SELECT EventID, Name, Venue, Date1, Date2,
CASE
WHEN Unix_Timestamp(Date1) > UNIX_TIMESTAMP()
THEN Date1 ELSE Date2
END AS 'D'
FROM Events
HAVING Unix_Timestamp(D) > UNIX_TIMESTAMP()
ORDER BY D ASC LIMIT 3;

This will always to a full-table-scan (i mean, it will not use an index)
So, if tables becomes very large, your query might become very slow

But if you tested it, and it gives correct results....

Quote:
Chris
--
Luuk

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.