Closed papakay closed 9 years ago
Well, there must be something wrong... Because the error line seems to refer to a comment line...
Which version of CodeIgniter are you using?
i use codeigniter 2.2.0
to be honest, I never tried the model on codeigniter 2.x, but that shouldn't be a problem...
I checked the system/database/driver/ for the class with CI_DB_mysqli_driver and i could not see reset_query() method in codeigniter version 2.2.0 and 3.0.0 as well.
The version 2.0 of MY_Model didn't give that issue at all
I'm kind of surprise where the method was declared.
I just the method inside system/database/DB_query_builder.php for Codeigniter 3.0.0 but please how can i get MY_Model.php v3.0 to work with code igniter v2.2.0?
I've had this problem with CI 2.2.0. I believe reset_query() is a method implemented in CI 3, not being available in older versions of CI
Yes DaniGuit, i saw it's there is Codeigniter V3.0 but not in 2.2.0. But please how did you work around this?
Well in my case I had to migrate to CI 3 anyway, so the problem with MY_Model was solved by itself. If migrating is not an option for you, I'd try extending the CI core for the Active Record library and implement the reset_query() method there (I haven't tried this, but it's the first thing that comes to my mind if I had to solve this issue for CI 2)
Okay, thanks DaniGuit, i will try this option and get back to you.
You could also try to comment out all the references to reset_query() made inside the MY_Model. I used that method for testing reasons, I don't really know if it really was necessary.
I have tried it but i have a different error
This is my Controller
and my model is this
Please what are mine doing wrong?
ok... reload again the MY_Model... and report any errors... Thank you for your patience.
Many thanks Avenirer, it works fine!! There were no errors. I really appreciate. I will try other features of v3.0 and let you know if any error comes up.
Thanks to DaniGuit as well for his support. You guys are great!!!!
Cheers
Good morning, please i'm having a little issue with the with_*('fields:', where....) method. When i i tried something like this
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subject_id
=\'Mathematics\'')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
i got this response
When i tried this instead:
$data['schoolData'] = $this->user_model->with_schoolType('fields:id,school_type', 'where:st_id
=\'special_needs\'')->with_subjects()->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
I didn't get a response but it returned other data that didn't fulfil the condition specified. I want to be able to get users if some data in the related table equals a particular value
I also notice that the where condition in the case of has_many_pivot doesn't check the pivot table. for instance i have subjects_users being an has_many_pivot for users table. If i add the a where condition like this
$this->user_model->with_subjects('fields:id,subjects', 'where:subject_id
=\'Mathematics\'')->where(array('published' => 1))->get_all();
I expected that where will search the subjects_users table and not subjects table
Also i notice that for the fields table you can only specified column for subjects only. I tried to specified column in subjects_users and it threw back SQL error.
Please is this an issue with my version of Codeigniter or that's the way the library works?
Try this:
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subject_id=Mathematics')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
or this...
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subject_id
=\'Mathematics\'')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
Hello i downloaded the updated MY_Model and tried the options given above but didn't work. Below is the screenshot of the error received
See below my table structure
and the pivot table is
What could be wrong please?
for the moment just mention the table name before mentioning the field name 'where:subjects_users.subject_id=Mathematics'. Do the same on previous error
Thanks Avenirer!
I have tried this
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subjects_users.subject_id=2')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
but i got this error
use the backticks and the quotations...
When i tried this
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subjects_users.subject_id
=2')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
I got this error message
did you also put 2 inside \'2\' ?
Yes i did initially but when it didn't work i decided to remove. I have tried it again.
$data['schoolData'] = $this->user_model->with_schoolType()->with_subjects('fields:subjects','where:subjects_users.subject_id
=\'2\'')->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();
Below is the screenshot of the result it's showing
Well... I really don't know where that backtick after the "2" comes from :(
I suspect that it coming from 'where:subjects_users.subject_id
=\'2\''
It then gives this
WHERE subjects_users
.subject_id
='2'`
nope... not from there...
On Wed, Jul 8, 2015 at 12:28 PM, Alabi Kehinde notifications@github.com wrote:
I suspect that it coming from 'where:subjects_users.subject_id=\'2\'' It then gives this WHERE subjects_users.subject_id='2'`
— Reply to this email directly or view it on GitHub https://github.com/avenirer/CodeIgniter-MY_Model/issues/33#issuecomment-119518828 .
Adrian Voicu - Avenirer http://avenir.ro
Okay
Please any luck or do i have to upgrade my CI to 3.0 for this to work?
padding: 0; } ReadMsgBody {
width: 100%; } ExternalClass {
width: 100%; } ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%; } body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; } img {
-ms-interpolation-mode: bicubic; }
body {
margin: 0;
padding: 0;
} img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; } table {
border-collapse: collapse !important; } body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }
appleBody a {
color: #68440a;
text-decoration: none; } appleFooter a {
color: #999999;
text-decoration: none; } faq {
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; } mobile-only {
display: none; }
@media screen and (max-width: 525px) {
table[class="wrapper"] {
width: 100% !important; }
td[class="logo"] {
text-align: left;
padding: 20px 0 20px 0 !important; } td[class="logo"] img {
margin: 0 auto!important; }
[class="mobile-only"] {
display: block; }
br[class="mobile-hide"] {
display: none; } td[class="mobile-hide"] {
display: none; } img[class="mobile-hide"] {
display: none !important; } img[class="img-max"] {
max-width: 100% !important;
width: 100% !important;
height: auto !important; }
img[class="img-min"] {
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }
img[class="img-apps"] {
max-width: 46% !important;
width: 46% !important;
height: auto !important; } img[class="img-max-profile"] {
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }
table[class="responsive-table"] {
width: 100%!important; }
td[class="padding"] {
padding: 10px 5% 15px 5% !important; } td[class="amount"] {
font-size: 10px!important; } td[class="mobile-text-twelve"] {
font-size: 12px!important; } span[class="mobile-text-twelve"] {
font-size: 14px!important; } td[class="padding-copy"] {
padding: 10px 5% 10px 5% !important;
text-align: center; } td[class="padding-meta"] {
padding: 30px 5% 0px 5% !important;
text-align: center; } td[class="no-pad"] {
padding: 0 0 20px 0 !important; } td[class="no-pad-bottom"] {
padding: 25px 0 0 0 !important; } td[class="no-padding"] {
padding: 0 !important; } td[class="section-padding"] {
padding: 25px 15px 25px 15px !important; } td[class="section-no-padding-bottom"] {
padding: 25px 15px 0 15px !important; }
td[class="section-no-padding-top"] {
padding: 0 5% 25px 5% !important; }
td[class="section-no-padding-top-bottom"] {
padding: 0 5% 0 5% !important; } td[class="section-padding-bottom-image"] {
padding: 50px 15px 0 15px !important; }
td[class="mobile-wrapper"] {
padding: 10px 5% 15px 5% !important; } table[class="mobile-button-container"] {
margin: 0 auto;
width: 100% !important; } a[class="mobile-button"] {
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; } }
avenir.ro@gmail.com sent you $20 to try the all-new empowr:
Receive your $20 ►
Resources:
What is empowr? Who's behind it? See who you know that's on empowr
No more emails from avenir.ro@gmail.com (avenir.ro@gmail.com)? Unsubscribe http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=694&mlid=8964116266&fn=DmX4B%2FytPytA1hCpQZ4Mhw%3D%3D
*This offer has been sent by avenir.ro@gmail.com. By accepting this offer to try the new empowr, I stipulate that I'm 18 or older and am signing up having agreed with the product, terms and privacy policies, including the manner in which "$" and the word "earnings" are used throughout the empowr website, mobile apps and all empowr communications including this email, as defined in the product policy. This promotional email was sent to reply@reply.github.com and may contain special notices or offers. It is for illustrative purposes only and is in no way a guarantee. You can prevent future emails here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA.
padding: 0; } .ReadMsgBody {
width: 100%; } .ExternalClass {
width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%; } body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; } img {
-ms-interpolation-mode: bicubic; }
body {
margin: 0;
padding: 0;
} img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; } table {
border-collapse: collapse !important; } body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }
appleBody a {
color: #68440a;
text-decoration: none; } .appleFooter a {
color: #999999;
text-decoration: none; } .faq {
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; } .mobile-only {
display: none; }
@media screen and (max-width: 525px) {
table[class="wrapper"] {
width: 100% !important; }
td[class="logo"] {
text-align: left;
padding: 20px 0 20px 0 !important; } td[class="logo"] img {
margin: 0 auto!important; }
[class="mobile-only"] {
display: block; }
br[class="mobile-hide"] {
display: none; } td[class="mobile-hide"] {
display: none; } img[class="mobile-hide"] {
display: none !important; } img[class="img-max"] {
max-width: 100% !important;
width: 100% !important;
height: auto !important; }
img[class="img-min"] {
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }
img[class="img-apps"] {
max-width: 46% !important;
width: 46% !important;
height: auto !important; } img[class="img-max-profile"] {
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }
table[class="responsive-table"] {
width: 100%!important; }
td[class="padding"] {
padding: 10px 5% 15px 5% !important; } td[class="amount"] {
font-size: 10px!important; } td[class="mobile-text-twelve"] {
font-size: 12px!important; } span[class="mobile-text-twelve"] {
font-size: 14px!important; } td[class="padding-copy"] {
padding: 10px 5% 10px 5% !important;
text-align: center; } td[class="padding-meta"] {
padding: 30px 5% 0px 5% !important;
text-align: center; } td[class="no-pad"] {
padding: 0 0 20px 0 !important; } td[class="no-pad-bottom"] {
padding: 25px 0 0 0 !important; } td[class="no-padding"] {
padding: 0 !important; } td[class="section-padding"] {
padding: 25px 15px 25px 15px !important; } td[class="section-no-padding-bottom"] {
padding: 25px 15px 0 15px !important; }
td[class="section-no-padding-top"] {
padding: 0 5% 25px 5% !important; }
td[class="section-no-padding-top-bottom"] {
padding: 0 5% 0 5% !important; } td[class="section-padding-bottom-image"] {
padding: 50px 15px 0 15px !important; }
td[class="mobile-wrapper"] {
padding: 10px 5% 15px 5% !important; } table[class="mobile-button-container"] {
margin: 0 auto;
width: 100% !important; } a[class="mobile-button"] {
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; } }
Yesterday, avenir.ro@gmail.com sent you $20 to try the all-new empowr:
Receive your $20 ►
Not sure you know avenir.ro@gmail.com?
View their photos to see if you recognize them
Resources:
What is empowr? Who's behind it? See who you know that's on empowr
No more emails from avenir.ro@gmail.com (avenir.ro@gmail.com)? Unsubscribe http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=694&mlid=8968360549&fn=DmX4B%2FytPytA1hCpQZ4Mhw%3D%3D
*This offer has been sent by avenir.ro@gmail.com. By accepting this offer to try the new empowr, I stipulate that I'm 18 or older and am signing up having agreed with the product, terms and privacy policies, including the manner in which "$" and the word "earnings" are used throughout the empowr website, mobile apps and all empowr communications including this email, as defined in the product policy. This promotional email was sent to reply@reply.github.com and may contain special notices or offers. It is for illustrative purposes only and is in no way a guarantee. You can prevent future emails here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA.
padding: 0; } ReadMsgBody {
width: 100%; } ExternalClass {
width: 100%; } ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%; } body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; } img {
-ms-interpolation-mode: bicubic; }
body {
margin: 0;
padding: 0;
} img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; } table {
border-collapse: collapse !important; } body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }
appleBody a {
color: #68440a;
text-decoration: none; } appleFooter a {
color: #999999;
text-decoration: none; } faq {
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; } mobile-only {
display: none; }
@media screen and (max-width: 525px) {
table[class="wrapper"] {
width: 100% !important; }
td[class="logo"] {
text-align: left;
padding: 20px 0 20px 0 !important; } td[class="logo"] img {
margin: 0 auto!important; }
[class="mobile-only"] {
display: block; }
br[class="mobile-hide"] {
display: none; } td[class="mobile-hide"] {
display: none; } img[class="mobile-hide"] {
display: none !important; } img[class="img-max"] {
max-width: 100% !important;
width: 100% !important;
height: auto !important; }
img[class="img-min"] {
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }
img[class="img-apps"] {
max-width: 46% !important;
width: 46% !important;
height: auto !important; } img[class="img-max-profile"] {
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }
table[class="responsive-table"] {
width: 100%!important; }
td[class="padding"] {
padding: 10px 5% 15px 5% !important; } td[class="amount"] {
font-size: 10px!important; } td[class="mobile-text-twelve"] {
font-size: 12px!important; } span[class="mobile-text-twelve"] {
font-size: 14px!important; } td[class="padding-copy"] {
padding: 10px 5% 10px 5% !important;
text-align: center; } td[class="padding-meta"] {
padding: 30px 5% 0px 5% !important;
text-align: center; } td[class="no-pad"] {
padding: 0 0 20px 0 !important; } td[class="no-pad-bottom"] {
padding: 25px 0 0 0 !important; } td[class="no-padding"] {
padding: 0 !important; } td[class="section-padding"] {
padding: 25px 15px 25px 15px !important; } td[class="section-no-padding-bottom"] {
padding: 25px 15px 0 15px !important; }
td[class="section-no-padding-top"] {
padding: 0 5% 25px 5% !important; }
td[class="section-no-padding-top-bottom"] {
padding: 0 5% 0 5% !important; } td[class="section-padding-bottom-image"] {
padding: 50px 15px 0 15px !important; }
td[class="mobile-wrapper"] {
padding: 10px 5% 15px 5% !important; } table[class="mobile-button-container"] {
margin: 0 auto;
width: 100% !important; } a[class="mobile-button"] {
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; } }
Just a friendly reminder that avenir.ro@gmail.com sent you $20 to try the all-new empowr:
Receive your $20 ►
Don't know avenir.ro@gmail.com?
Return the $20 so it doesn't go to waste and you're not keeping avenir.ro@gmail.com waiting
Resources:
What is empowr? Who's behind it? See who you know that's on empowr
No more emails from avenir.ro@gmail.com (avenir.ro@gmail.com)? Unsubscribe http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=694&mlid=8973447599&fn=DmX4B%2FytPytA1hCpQZ4Mhw%3D%3D
*This offer has been sent by avenir.ro@gmail.com. By accepting this offer to try the new empowr, I stipulate that I'm 18 or older and am signing up having agreed with the product, terms and privacy policies, including the manner in which "$" and the word "earnings" are used throughout the empowr website, mobile apps and all empowr communications including this email, as defined in the product policy. This promotional email was sent to reply@reply.github.com and may contain special notices or offers. It is for illustrative purposes only and is in no way a guarantee. You can prevent future emails here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA.
padding: 0; } ReadMsgBody {
width: 100%; } ExternalClass {
width: 100%; } ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%; } body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; } img {
-ms-interpolation-mode: bicubic; }
body {
margin: 0;
padding: 0;
} img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; } table {
border-collapse: collapse !important; } body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }
appleBody a {
color: #68440a;
text-decoration: none; } appleFooter a {
color: #999999;
text-decoration: none; } faq {
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; } mobile-only {
display: none; }
@media screen and (max-width: 525px) {
table[class="wrapper"] {
width: 100% !important; }
td[class="logo"] {
text-align: left;
padding: 20px 0 20px 0 !important; } td[class="logo"] img {
margin: 0 auto!important; }
[class="mobile-only"] {
display: block; }
br[class="mobile-hide"] {
display: none; } td[class="mobile-hide"] {
display: none; } img[class="mobile-hide"] {
display: none !important; } img[class="img-max"] {
max-width: 100% !important;
width: 100% !important;
height: auto !important; }
img[class="img-min"] {
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }
img[class="img-apps"] {
max-width: 46% !important;
width: 46% !important;
height: auto !important; } img[class="img-max-profile"] {
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }
table[class="responsive-table"] {
width: 100%!important; }
td[class="padding"] {
padding: 10px 5% 15px 5% !important; } td[class="amount"] {
font-size: 10px!important; } td[class="mobile-text-twelve"] {
font-size: 12px!important; } span[class="mobile-text-twelve"] {
font-size: 14px!important; } td[class="padding-copy"] {
padding: 10px 5% 10px 5% !important;
text-align: center; } td[class="padding-meta"] {
padding: 30px 5% 0px 5% !important;
text-align: center; } td[class="no-pad"] {
padding: 0 0 20px 0 !important; } td[class="no-pad-bottom"] {
padding: 25px 0 0 0 !important; } td[class="no-padding"] {
padding: 0 !important; } td[class="section-padding"] {
padding: 25px 15px 25px 15px !important; } td[class="section-no-padding-bottom"] {
padding: 25px 15px 0 15px !important; }
td[class="section-no-padding-top"] {
padding: 0 5% 25px 5% !important; }
td[class="section-no-padding-top-bottom"] {
padding: 0 5% 0 5% !important; } td[class="section-padding-bottom-image"] {
padding: 50px 15px 0 15px !important; }
td[class="mobile-wrapper"] {
padding: 10px 5% 15px 5% !important; } table[class="mobile-button-container"] {
margin: 0 auto;
width: 100% !important; } a[class="mobile-button"] {
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; } }
Final reminder that avenir.ro@gmail.com sent you $20 to try the all-new empowr:
Receive your $20 ►
FINAL REMINDER We know you're busy, but is there a problem? Not sure this is real?
Find out for yourself. Don't lose your $20. This is your last chance.
Resources:
What is empowr? Who's behind it? See who you know that's on empowr
No more emails from avenir.ro@gmail.com (avenir.ro@gmail.com)? Unsubscribe http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=694&mlid=8979065662&fn=DmX4B%2FytPytA1hCpQZ4Mhw%3D%3D
*This offer has been sent by avenir.ro@gmail.com. By accepting this offer to try the new empowr, I stipulate that I'm 18 or older and am signing up having agreed with the product, terms and privacy policies, including the manner in which "$" and the word "earnings" are used throughout the empowr website, mobile apps and all empowr communications including this email, as defined in the product policy. This promotional email was sent to reply@reply.github.com and may contain special notices or offers. It is for illustrative purposes only and is in no way a guarantee. You can prevent future emails here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA.
body {{ margin:0 !important; }} div[style*="margin: 16px 0"] {{ margin:0 !important; font-size:100% !important; }}
padding: 0; }} .ReadMsgBody {{
width: 100%; }} .ExternalClass {{
width: 100%; }} .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {{
line-height: 100%; }} body, table, td, a {{
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }} table, td {{
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; }} img {{
-ms-interpolation-mode: bicubic; }}
body {{margin: 0;padding: 0;}} img {{
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; }} table {{
border-collapse: collapse !important; }} body {{
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }}
appleBody a {{
color: #68440a;
text-decoration: none; }} .appleFooter a {{
color: #999999;
text-decoration: none; }} .faq {{
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; }} .mobile-only {{
display: none; }} .img-apps {{ padding:0 5px 0 0;}}
a.mobile-button:link, a.mobile-button:visited {{ color:#fff!important;}}
@media screen and (max-width: 525px) {{
table[class="wrapper"] {{
width: 100% !important; }}
td[class="logo"] {{
text-align: left;
padding: 20px 0 20px 0 !important; }} td[class="logo"] img {{
margin: 0 auto!important; }}
[class="mobile-only"] {{
display: block; }}
br[class="mobile-hide"] {{
display: none; }} td[class="mobile-hide"] {{
display: none; }} img[class="mobile-hide"] {{
display: none !important; }} img[class="img-max"] {{
max-width: 100% !important;
width: 100% !important;
height: auto !important; }}
img[class="img-min"] {{
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }}
img[class="img-apps"] {{
max-width: 46% !important;
width: 46% !important;
height: auto !important;
padding:0 2px; }} img[class="img-max-profile"] {{
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }}
table[class="responsive-table"] {{
width: 100%!important; }}
td[class="padding"] {{
padding: 10px 5% 15px 5% !important; }} td[class="amount"] {{
font-size: 9px!important; }} td[class="mobile-text-twelve"] {{
font-size: 12px!important; }} span[class="mobile-text-twelve"] {{
font-size: 14px!important; }} td[class="padding-copy"] {{
padding: 10px 5% 10px 5% !important;
text-align: center; }} td[class="padding-meta"] {{
padding: 30px 5% 0px 5% !important;
text-align: center; }} td[class="no-pad"] {{
padding: 0 0 20px 0 !important; }} td[class="no-pad-bottom"] {{
padding: 25px 0 0 0 !important; }} td[class="no-padding"] {{
padding: 0 !important; }} td[class="section-padding"] {{
padding: 25px 15px 25px 15px !important; }} td[class="section-no-padding-bottom"] {{
padding: 25px 15px 0 15px !important; }}
td[class="section-no-padding-top"] {{
padding: 0 5% 25px 5% !important; }}
td[class="section-no-padding-top-bottom"] {{
padding: 0 5% 0 5% !important; }} td[class="section-padding-bottom-image"] {{
padding: 50px 15px 0 15px !important; }}
td[class="mobile-wrapper"] {{
padding: 10px 5% 15px 5% !important; }} table[class="mobile-button-container"] {{
margin: 0 auto;
width: 100% !important; }} a[class="mobile-button"] {{
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; }} }}
Earn $100 in 1 minute.
How?
Simply try our new social network for only 50 seconds...
..and give us your feedback in less than 10 seconds.
Give me $100 (start the clock) ►
Your empowr account was reserved for you by avenir.ro@gmail.com. In order to store your gift however you must agree to terms and validate before it can be created.
By accessing your account via the links or buttons in this email, you're both validating your email and stipulating that you're 18 or older and are signing up having agreed with the product, terms and privacy policies, including the manner in which "$", "earnings", maturation and advertising are used or applied throughout the empowr products and communications.
Earnings are virtual currency revenues, not profits; are for illustrative purposes only and are in no way a guarantee of anything.
While your account is very new, if you fail to sign in for just a few days, it will be deleted to eliminate unwanted emails for you, so click a button in emails periodically to notify the system of your desire to keep it active. You can manually delete your account and/or block future invitations from here http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=724&mlid=9303091242.
*This promotional email was sent to reply@reply.github.com and may contain special notices or offers. To see current terms and conditions visit: empowr Terms and Conditions. You can prevent future emails here. You can change your password here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA
body { margin:0 !important; } div[style*="margin: 16px 0"] { margin:0 !important; font-size:100% !important; }
padding: 0; } ReadMsgBody {
width: 100%; } ExternalClass {
width: 100%; } ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%; } body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt; } img {
-ms-interpolation-mode: bicubic; }
body {margin: 0;padding: 0;} img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none; } table {
border-collapse: collapse !important; } body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important; }
appleBody a {
color: #68440a;
text-decoration: none; } appleFooter a {
color: #999999;
text-decoration: none; } faq {
line-height: 18px;
list-style: outside none none;
margin: 10px 0;
padding: 0; } mobile-only {
display: none; } img-apps { padding:0 5px 0 0;}
a.mobile-button:link, a.mobile-button:visited { color:#fff!important;}
@media screen and (max-width: 525px) {
table[class="wrapper"] {
width: 100% !important; }
td[class="logo"] {
text-align: left;
padding: 20px 0 20px 0 !important; } td[class="logo"] img {
margin: 0 auto!important; }
[class="mobile-only"] {
display: block; }
br[class="mobile-hide"] {
display: none; } td[class="mobile-hide"] {
display: none; } img[class="mobile-hide"] {
display: none !important; } img[class="img-max"] {
max-width: 100% !important;
width: 100% !important;
height: auto !important; }
img[class="img-min"] {
max-width: 73px !important;
width: 73px !important;
height: auto !important;
padding-top: 8px !important; }
img[class="img-apps"] {
max-width: 46% !important;
width: 46% !important;
height: auto !important;
padding:0 2px; } img[class="img-max-profile"] {
max-width: 50% !important;
width: 50% !important;
height: auto !important;
border-radius: 200px; }
table[class="responsive-table"] {
width: 100%!important; }
td[class="padding"] {
padding: 10px 5% 15px 5% !important; } td[class="amount"] {
font-size: 9px!important; } td[class="mobile-text-twelve"] {
font-size: 12px!important; } span[class="mobile-text-twelve"] {
font-size: 14px!important; } td[class="padding-copy"] {
padding: 10px 5% 10px 5% !important;
text-align: center; } td[class="padding-meta"] {
padding: 30px 5% 0px 5% !important;
text-align: center; } td[class="no-pad"] {
padding: 0 0 20px 0 !important; } td[class="no-pad-bottom"] {
padding: 25px 0 0 0 !important; } td[class="no-padding"] {
padding: 0 !important; } td[class="section-padding"] {
padding: 25px 15px 25px 15px !important; } td[class="section-no-padding-bottom"] {
padding: 25px 15px 0 15px !important; }
td[class="section-no-padding-top"] {
padding: 0 5% 25px 5% !important; }
td[class="section-no-padding-top-bottom"] {
padding: 0 5% 0 5% !important; } td[class="section-padding-bottom-image"] {
padding: 50px 15px 0 15px !important; }
td[class="mobile-wrapper"] {
padding: 10px 5% 15px 5% !important; } table[class="mobile-button-container"] {
margin: 0 auto;
width: 100% !important; } a[class="mobile-button"] {
width: 80% !important;
padding: 15px !important;
border: 0 !important;
font-size: 16px !important; } }
Your account was reserved for you by in order to reserve your free trial, however you must agree to terms and validate before it can be created.
By accessing your account via the links or buttons in this email, you're both validating your email and stipulating that you're 18 or older and are signing up having agreed with the product, terms and privacy policies, including the manner in which "$", "earnings", maturation and advertising are used or applied throughout the empowr products and communications.
Earnings are virtual currency revenues, not profits; are for illustrative purposes only and are in no way a guarantee of anything. You can manually delete your account and/or block future invitations from here http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=745&mlid=9999632649.
No more emails from ()? Unsubscribe http://profile.empowr.com/ApplicationManager/CommunityEmailSettings.aspx?em=K%2FzdUVCDppTIJv3xKo8m2VJsinWzyQsqKk6j4FTmC1GBzYfmvtFkEqafcN22wC%2BGyZU2iEwzH5jGaJWQex1i0Go6b4wLNP%2BkJAPXwGEzjRncQtsNHJSj6JBCAJ%2F34dRsDuY5tZcQF1Y%2FYsTUv4W690BVg%2BmBBYQ9&vet=745&mlid=9999632649
*This promotional email was sent to reply@reply.github.com and may contain special notices or offers. To see current terms and conditions visit: empowr Terms and Conditions. You can prevent future emails here. You can change your password here. empowr - 501 West Broadway, Suite A182, San Diego, CA 92101, USA
body { -ms-text-size-adjust: none !important; font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;}
My balance: $1,000
Home
p
small-text
Hello,
Starting in 2016, you were an early (alpha) member of our project called empowr. Well, that project evolved and became the new www.empowr.com. Along the way, we invented virtual currency and many other technologies used by all the top social media companies.
Your free coins
As you probably know by now, empowr is launching its own coin (like Bitcoin) and, as our way of saying Thank You to the incredible community that got us here, we're giving the first coins to you – TOTALLY FREE. Read the details http://www.empowr.com/Navigation/RegistrationWelcome.aspx?Action=ReferralInstantRegistration&RegistrationFlowFlavor=18&authToken=Dq3vsSFRp06pdOmPDhOStZcxBPDIpFkvmFtPJwZLKJnTq0oE3D7L02wvs78rplKU41nE389DdNmLo2s3zeAGjTsen4YFg5M6YNOfhX9w1WuCM8G53ZGoZ3R7wruHAL8wzLOHruvmJw3I1veozzWhn7LGslbxJ3slrTfEKIYnE%2f4D76oYTQnaebHi9%2bSuM5lGw5h3XYNoqt%2b7yWwCyLo7T2GUrVvZHfxnHZsXLXLs2a6fjjF1s16b2%2b4du5yYhnKzmY47Pj4e2rr8cOn1KUSb%2bNMxFjEPGQZbNZcCB2%2fWO0J9Y%2ftjYWhUsyQjB3O%2f4dAU&PolicyAcceptance=pfwj1UhTubKonRhAPScf8hOJLygzxWZc13F4Zw7Vyai1ZEpsGa%2bkXn7K%2fjNwfhUiIXUeJadMrnz1wD2bkiduUbwJcr0k2ZIp8CiImi9bpo7r88reIvIWpiNKiijiFw8lVKNAvqodXhl6QD5rKGNMwevH6pn4eCg7g1TFCdt7kYiAvrMgFjPVnUn47PG7hVQ8SqID0%2bYRHarCQlUXqCiBCJu25pGtDQD7tmCce4wAqsVQtPqfFtrk%2bhOP9by5YALJk63WAfs8ETC7AXV393t6fBF7uhs4onyue7ufF9Sm%2b3AMWK%2fMBSjK23J9xAAIXnZQ6Cpr4%2fbAliqH4dlnDFUus%2fRzUvdKdKQ%2fJukNAbH42eo8KUQSNFg3uaCC9J%2bdkaKlOPduJ%2bAx4yPbgLDE0HcK81IdYC4BIuztUT3Kh5vVCpi84X2TToHyidtYp4dlZhz9ub9Svx4JcQYVqyapceK%2fvcjveCUNfxJkJA9QTv5GHsb4t4MCIAFMMmzx4n3N2MWLmoAIzKeqaxsHxgt59GnhqDI7%2fvnnt896607g0PuPAy5CPaKKzoL4Fe1DXmHDypO2Y1XGNh4%2bE%2bf5PCaiBXbIJHWUxlpzfglUKXl501CpdRDrCNRwcxeI9Gvwmr1JHVJC5XqGoVIuBMi7u0swYUYeeGEVOoyVBTew3EVQpM9FFp74Pz56fO25MED9%2biXwGSEkO3bibOIMTNSqnj%2fTo%2fDmJDl%2b2%2fWVKH5vHDnUjMTH4rBD8WcxAjOdmtOj6SsmYGaJm0eZv%2buFqAmDM8QPWFz7X8ilDQda%2bcPtEflpFV0qDPOR1iT58NfgYKUzynRRzaFr1Bs%2f2p%2bjFGsKXY%2fE0laqYvjbaCPM9GqgmMIheEpMJDvTE6hJlOsvkivCogPu6Cx6LIQFf3CAf%2bEJIhda8%2fU4iqhhhGNqNrASmBegEkUQoeNkmJveq9mKpJDfnDtejWvf&vet=760&dt=011318&mlid=10165443122&tmpID=3378&linkname=InviteLink&pt=0&esp=0&eaid=45825079&rt=1
Secure your free coins ►
Note: Unclaimed coins will be auctioned off to the rest of the community. (As an early member, you get exclusive first access to bid on any unclaimed coins).
Once again, THANK YOU. -Your friends at empowr.com
Your account was reserved for you in order to allocate your free coins, however you must agree to terms and validate before it can be utilized. By accessing your account via the links or buttons in this email, you're both validating your email and stipulating that you're 18 or older and are signing up having agreed with the product, terms and privacy policies.
At this moment, empowr can make no guarantees about the current or future price or value of the new empowr cryptocurrency coin, or that it will be ultimately tradeable on one or more public currency exchanges. By accepting your free founder coins, you acknowledge that this offer represents a gift that can be revoked if it is found to not be legal in your state, country or jurisdiction. Vesting and other details apply.
You are receiving this gift and email because you were an alpha user of the SMS.ac / FanBox / empowr project. You can unsubscribe here
-->
New! Download the empowr mobile app:
*This promotional email was sent to reply@reply.github.com and may contain special notices or offers. To see current terms and conditions visit: FanBox Terms and Conditions. You can prevent future emails here. FanBox - 611 K Street, Suite B411, San Diego, CA 92101, USA
Please i just upgrade from version 2.0 to 3.0 and i'm receiving this error message. Please what can i do?
This is was the code i used in my controller
$data['schoolData'] = $this->user_model->with_schoolType()->with_curriculum()->with_schoolLocation()->where(array('published' => 1))->get_all();