Commit ddeb41dd by Jansa Jose

initial commit

parent 0fa536dc
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
\ No newline at end of file
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
*~
*.sw[mnpcod]
*.log
*.tmp
*.tmp.*
log.txt
*.sublime-project
*.sublime-workspace
.vscode/
npm-debug.log*
.idea/
.sass-cache/
.tmp/
.versions/
coverage/
dist/
node_modules/
tmp/
temp/
hooks/
platforms/
plugins/
plugins/android.json
plugins/ios.json
www/build
$RECYCLE.BIN/
joyride_app.zip
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.techware.scon" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Scon</name>
<description>An app to find a Ride</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Techware Team</author>
<content src="index.html" />
<content original-src="index.html" />
<access origin="*" />
<allow-navigation href="http://ionic.local/*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="16" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
<platform name="android">
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
</platform>
<plugin name="com.synconset.imagepicker" spec="^2.1.10">
<variable name="PHOTO_LIBRARY_USAGE_DESCRIPTION" value="your usage message" />
</plugin>
<plugin name="cordova-plugin-camera" spec="^2.4.1" />
<plugin name="cordova-plugin-compat" spec="^1.2.0" />
<plugin name="cordova-plugin-console" spec="^1.0.5" />
<plugin name="cordova-plugin-datepicker" spec="^0.9.3" />
<plugin name="cordova-plugin-device" spec="^1.1.4" />
<plugin name="cordova-plugin-facebook4" spec="^1.10.1">
<variable name="APP_ID" value="249314885750928" />
<variable name="APP_NAME" value="TUKKIBI" />
</plugin>
<plugin name="cordova-plugin-file-transfer" spec="^1.6.3" />
<plugin name="cordova-plugin-geolocation" spec="^2.4.3" />
<plugin name="cordova-plugin-googleplus" spec="^5.3.1">
<variable name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.635125619451-43oc32m17egeiokmg1idqk0qd5jurv15" />
</plugin>
<plugin name="cordova-plugin-network-information" spec="^1.3.3" />
<plugin name="cordova-plugin-request-location-accuracy" spec="^2.2.2" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.2" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.4.1" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="mx.ferreyra.callnumber" spec="~0.0.2" />
<plugin name="onesignal-cordova-plugin" spec="^2.2.2" />
<plugin name="cordova-plugin-x-toast" spec="~2.7.2" />
<engine name="android" spec="~7.1.4" />
</widget>
{
"name": "testing",
"integrations": {
"cordova": {}
},
"type": "ionic-angular"
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "testing",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "^4.4.7",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/call-number": "^4.3.2",
"@ionic-native/camera": "^4.1.0",
"@ionic-native/core": "3.12.1",
"@ionic-native/date-picker": "^4.16.0",
"@ionic-native/facebook": "^4.16.0",
"@ionic-native/file-transfer": "^4.1.0",
"@ionic-native/geolocation": "^4.2.1",
"@ionic-native/google-plus": "^4.16.0",
"@ionic-native/image-picker": "^4.1.0",
"@ionic-native/in-app-browser": "^4.2.1",
"@ionic-native/location-accuracy": "^4.7.0",
"@ionic-native/network": "^4.7.0",
"@ionic-native/onesignal": "^4.3.2",
"@ionic-native/social-sharing": "^4.16.0",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic-native/toast": "^4.20.0",
"@ionic/storage": "2.0.1",
"@ngx-cache/core": "^6.0.0",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^0.1.0",
"@ngx-universal/translate-loader": "^5.0.0",
"add": "2.0.6",
"angularfire2": "^4.0.0-rc.2",
"call-number": "^1.0.1",
"com.synconset.imagepicker": "^2.1.10",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-console": "^1.0.5",
"cordova-plugin-datepicker": "^0.9.3",
"cordova-plugin-device": "^1.1.4",
"cordova-plugin-facebook4": "^1.10.1",
"cordova-plugin-file": "^4.0.0",
"cordova-plugin-file-transfer": "^1.6.3",
"cordova-plugin-geolocation": "^2.4.3",
"cordova-plugin-googleplus": "^5.3.1",
"cordova-plugin-image-picker": "^1.1.3",
"cordova-plugin-network-information": "^1.3.3",
"cordova-plugin-request-location-accuracy": "^2.2.2",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.2",
"cordova-plugin-telerik-imagepicker": "^2.1.8",
"cordova-plugin-whitelist": "^1.3.1",
"cordova-plugin-x-socialsharing": "^5.4.1",
"es6-promise-plugin": "^4.2.2",
"firebase": "^4.4.0",
"ionic-angular": "3.4.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"jquery": "^3.2.1",
"mx.ferreyra.callnumber": "~0.0.2",
"onesignal-cordova-plugin": "^2.2.2",
"promise-polyfill": "8.0.0",
"rxjs": "^5.5.2",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12",
"cordova-android": "~7.1.4"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.8",
"@ionic/cli-plugin-ionic-angular": "1.3.1",
"typescript": "2.3.4"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-camera": {},
"com.synconset.imagepicker": {
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "your usage message"
},
"cordova-plugin-file-transfer": {},
"mx.ferreyra.callnumber": {},
"cordova-plugin-geolocation": {},
"onesignal-cordova-plugin": {},
"cordova-plugin-network-information": {},
"cordova-plugin-request-location-accuracy": {},
"cordova-plugin-compat": {},
"cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "com.googleusercontent.apps.635125619451-43oc32m17egeiokmg1idqk0qd5jurv15"
},
"cordova-plugin-facebook4": {
"APP_ID": "249314885750928",
"APP_NAME": "TUKKIBI"
},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-datepicker": {},
"cordova-plugin-x-toast": {}
},
"platforms": [
"android"
]
}
}
\ No newline at end of file
<ion-header class="jr_theme_color jr_header">
<button ion-button class="jr_left jr_header_btn jr_back_icon" (click)="dismiss()"></button>
<div class="jr_header_title">
<h4>My public profile</h4>
</div>
<!-- <button ion-button class="jr_right jr_header_btn jr_mail_icon"></button>
<button ion-button class="jr_right jr_header_btn jr_profile_icon"></button> -->
<div class="jr_clear"></div>
</ion-header>
<ion-content>
<div class="jr_profile_wrapper">
<div class="jr_profile_banner1">
<div class="jr_profile_photo1">
<!-- <img src="{{is_photo}}"> -->
<img *ngIf="is_photo" [src]="is_photo">
<!--<img src="http://192.168.138.54/Running_projects/ws/./assets/uploads/profile_pic/745718793one.jpg"> -->
</div>
</div>
<div class="jr_profile_content">
<h4 *ngIf="userdata">{{userdata.first_name|uppercase}} {{userdata.last_name|uppercase}}</h4>
<p *ngIf="year" class="jr_age1">{{year}} y/o</p>
<hr>
<div class="jr_profile_tab_content">
<div class="jr_edit_row">
<h4>ABOUT YOU</h4>
<p *ngIf="userdata">
{{userdata.biography}}
</p>
<h4>VERIFICATION</h4>
<ul>
<!-- <li *ngIf="is_phone" [class.verified]="userdata.phone_is_verified=='1'">{{userdata.phone_no}}</li>
<li (click)="addnumber()" *ngIf="!is_phone">Add my Phone</li> -->
<li *ngIf="userdata" [class.verified]="userdata.email_is_verified=='1'" >{{userdata.email}}</li>
</ul>
<h4>LAST SEEN</h4>
<ul>
<!-- <li class="jr_bg_none">Last Seen&nbsp;:&nbsp;Today</li> -->
<li *ngIf="userdata" class="jr_bg_none">Member Since&nbsp;:&nbsp;{{userdata.join_date | date : "MMMM y" }}</li>
</ul>
</div>
</div>
</div>
</div>
</ion-content>
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { Publicprofile } from './publicprofile';
@NgModule({
declarations: [
Publicprofile,
],
imports: [
IonicPageModule.forChild(Publicprofile),
],
exports: [
Publicprofile
]
})
export class PublicprofileModule {}
import { Component } from '@angular/core';
import { IonicPage,NavController,ViewController,ModalController } from 'ionic-angular';
import { Storage } from '@ionic/storage';
@IonicPage()
@Component({
selector: 'page-publicprofile',
templateUrl: 'publicprofile.html'
})
export class Publicprofile {
userdata:any;
year:any;
is_photo:any;
is_phone:any;
constructor(public navCtrl: NavController,public viewCtrl: ViewController,public storage: Storage,public modalCtrl: ModalController) {
this.year = '';
// this.is_photo = 'assets/img/jr_img.png';
//this.is_photo = 'http://192.168.138.31/Antony/Running/joyride/assets/uploads/profile_pic/14143957401503568609343.jpg';
this.storage.get('userdata').then((userdata) => {
this.userdata = userdata;
this.is_phone = this.userdata.phone_no;
//console.log(userdata);
if(this.userdata.profile_photo) {
this.is_photo = this.userdata.profile_photo;
}
if(this.userdata.date_of_birth){
var currentYear = new Date().getFullYear();
console.log(this.userdata.profile_photo);
var dob = this.userdata.date_of_birth.split("-");
this.year = dob[0];
this.year = currentYear - dob[0];
}
})
}
ionViewDidLoad() {
}
dismiss() {
this.viewCtrl.dismiss();
}
addnumber() {
let modal = this.modalCtrl.create('Addnumber');
modal.present();
}
// addnumber() {
// let modal = this.modalCtrl.create('Addnumber');
// modal.present();
// }
}
5656081ab90822b523a3532c8a5dca39
\ No newline at end of file
0be037462e5c36dbd6e70d11653c9bc7
\ No newline at end of file
<ion-menu [content]="mymenu" *ngIf="app == 'joyride'">
<ion-content class="jr_sidemenu_bg">
<div class="jr_inside_bg" *ngIf="language_value" >
<div class="jr_sidemenu_bg">
<div class="jr_sidemenu_top" *ngIf="userdata">
<div class="jr_sidemenu_photo">
<img *ngIf="userdata.profile_photo" [src]="userdata.profile_photo">
<img *ngIf="!userdata.profile_photo" src="assets/img/jr_img.png">
</div>
</div>
<div class="jr_sidemenu_top" *ngIf="!userdata">
<div>
<img class="colour_change_image" src="assets/img/jr_logo2.png">
</div>
</div>
<div class="jr_sidemenu_detail">
<div *ngIf="userdata">
<h4>{{userdata.first_name}} {{userdata.last_name}}</h4>
<p>{{userdata.email}}</p>
<button class="jr_side_edit" menuClose (click)="editprofile()">{{language_value.edit}} </button>
</div>
<div class="jr_sidemenu_notlogin" *ngIf="!userdata">
<button ion-button menuClose (click)="login()" class="jr_sidemenu_notlogin_btn jr_left"> {{language_value.login}}</button>
<button ion-button menuClose (click)="sign_up()" class="jr_sidemenu_notlogin_btn jr_right"> {{language_value.signup}}</button>
<div class="jr_clear"></div>
</div>
<ul>
<li menuClose (click)="home()"><img src="assets/img/jr_side0.png"><span>{{language_value.home}}</span></li>
<li menuClose *ngIf="userdata" (click)="your_ride()"><img src="assets/img/jr_side1.png"><span>{{language_value.your_ride}}</span></li>
<li menuClose (click)="findride()"><img src="assets/img/jr_side2.png"><span>{{language_value.find_ride}} </span></li>
<li menuClose (click)="offerride()"><img src="assets/img/jr_side3.png"><span>{{language_value.Offer_ride}}</span></li>
<!-- <li menuClose *ngIf="userdata" (click)="my_reviews()"><img src="assets/img/jr_side3.png"><span>{{language_value.my_reviews}}</span></li> -->
<!-- <li menuClose (click)="sms_invitation()"><img src="assets/img/jr_side3.png"><span>SMS Invitataion</span></li> -->
<li menuClose *ngIf="userdata" (click)="chatlisting()"><img src="assets/img/chat-icon.png"><span>{{language_value.chat}} </span></li>
<li menuClose *ngIf="userdata" (click)="logout()"><img src="assets/img/jr_side4.png"><span>{{language_value.logout}} </span></li>
<!-- <li menuClose *ngIf="userdata" (click)="share_page()">
<img src="assets/img/earn.png"><span>{{language_value.share}} </span></li> -->
</ul>
</div>
</div>
</div>
</ion-content>
</ion-menu>
<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage" #mymenu></ion-nav>
<!--<ion-list>
<button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
{{p.title}}
</button>
</ion-list>-->
<!-------------------------truebus app html page(down)------------------------------>
<ion-menu [content]="content" [ngClass]="lang=='ar' ? 'ar' : ''" *ngIf="app == 'truebus'">
<ion-content class="relative">
<!-- <ion-item class="language">
<ion-label>Language to AR</ion-label>
<ion-toggle [(ngModel)]="lan" (ionChange)="updateItem(lan)" checked="false"></ion-toggle>
</ion-item> -->
<div class="sidemenu_wrapper" *ngIf="local">
<div class="profile_banner">
<div class="profie_circle">
</div>
<div class="clear"></div>
<h5>{{local.name}}</h5>
<hr>
</div>
<ul>
<li menuClose (click)="home()">
<ion-icon name="home"></ion-icon>{{'menu.Home' | translate}}
</li>
<li menuClose (click)="trip_list()">
<ion-icon name="bus"></ion-icon>{{'menu.My Trip' | translate}}
</li>
<li menuClose (click)="notification()">
<ion-icon name="cash"></ion-icon>{{'menu.Notification' | translate}}
</li>
<li menuClose (click)="cancelticket()">
<ion-icon name="backspace"></ion-icon>{{'menu.Cancel ticket' | translate}}
</li>
<li menuClose (click)="changepass()">
<ion-icon name="key"></ion-icon>{{'menu.Change Password' | translate}}
</li>
<li menuClose (click)="login()">
<ion-icon name="log-out"></ion-icon>{{'menu.Logout' | translate}}
</li>
</ul>
</div>
<div class="sidemenu_wrapper" *ngIf="!local">
<div class="profile_banner">
<div class="profie_circle">
</div>
<div class="clear"></div>
<h5>Guest</h5>
<hr>
</div>
<ul>
<li menuClose (click)="home()">
<ion-icon name="home"></ion-icon>{{'menu.Home' | translate}}
</li>
<li menuClose (click)="signin()">
<ion-icon name="md-log-in"></ion-icon>{{'menu.Sign In' | translate}}
</li>
<li menuClose (click)="signup()">
<ion-icon name="md-log-out"></ion-icon>{{'menu.Sign up' | translate}}
</li>
<li menuClose (click)="forgot()">
<ion-icon name="md-help"></ion-icon>{{'menu.Forgot Password' | translate}}
</li>
</ul>
</div>
</ion-content>
</ion-menu>
<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage " #content swipeBackEnabled="false "></ion-nav>
<style>
.language {
background-color: #FF585E !important;
color: #fff !important;
padding-left: 15px !important;
font-size: 18px;
font-weight: 300;
letter-spacing: 2px;
}
</style>
\ No newline at end of file
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, ErrorHandler } from '@angular/core';
/*
Inject, PLATFORM_ID,
import { UniversalTranslateLoader } from '@ngx-universal/translate- ';
*/
import {HttpClientModule, HttpClient} from '@angular/common/http';
import {TranslateModule, TranslateLoader} from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { HttpModule, Http } from '@angular/http';
import { IonicStorageModule } from '@ionic/storage';
import { Myservice } from '../providers/myservice';
import { IonicApp, IonicErrorHandler, IonicModule ,NavController} from 'ionic-angular';
import { MyApp } from './app.component';
import { StatusBar } from '@ionic-native/status-bar';
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
import { Camera, CameraOptions } from '@ionic-native/camera';
import { ImagePicker } from '@ionic-native/image-picker';
import { SplashScreen } from '@ionic-native/splash-screen';
import { PaniduploadComponent } from '../components/panidupload/panidupload';
import { PassportiduploadComponent } from '../components/passportidupload/passportidupload';
import { AngularFireModule } from 'angularfire2';
import { AngularFireAuthModule } from 'angularfire2/auth';
import { AngularFireDatabaseModule } from 'angularfire2/database';
import {FirebaseService} from '../providers/firebase.service';
import * as firebase from 'firebase';
import { Geolocation } from '@ionic-native/geolocation';
import { InAppBrowser } from '@ionic-native/in-app-browser';
import { OneSignal } from '@ionic-native/onesignal';
import { CallNumber } from '@ionic-native/call-number';
import { Network } from '@ionic-native/network';
import { Common } from "../providers/services/common";
import { Toast } from '@ionic-native/toast';
import { LocationAccuracy } from '@ionic-native/location-accuracy';
import { Facebook, FacebookLoginResponse } from '@ionic-native/facebook';
import { GooglePlus } from '@ionic-native/google-plus';
import { SocialSharing } from '@ionic-native/social-sharing';
import { DatePicker } from '@ionic-native/date-picker';
import { TruebusMyApp } from './truebusapp.component';
export function HttpLoaderFactory(http: Http) {
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
}
export const firebaseConfig = {
apiKey: "AIzaSyB2_C7dz6z0-aRNoPzooVwtj1sEgTF5eK4",
authDomain: "joyride-9b774.firebaseapp.com",
databaseURL: "https://joyride-9b774.firebaseio.com",
projectId: "joyride-9b774",
storageBucket: "",
messagingSenderId: "1094203463203"
};
@NgModule({
declarations: [
MyApp,
PaniduploadComponent,
PassportiduploadComponent,
TruebusMyApp
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
IonicStorageModule.forRoot(),
HttpModule,HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [Http, HttpClient]
}
}),
AngularFireModule.initializeApp(firebaseConfig),
AngularFireDatabaseModule,
AngularFireAuthModule,
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
],
providers: [
StatusBar,
Myservice,
Camera,
CallNumber,
Network,
FirebaseService,
Geolocation,
InAppBrowser,
OneSignal,
ImagePicker,
LocationAccuracy ,
SplashScreen,
FileTransfer,
SocialSharing ,
Facebook,
Common,
Toast,
DatePicker,
GooglePlus,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
// http://ionicframework.com/docs/v2/theming/
@import "../assets/css/custom.scss";
@import "../assets/css/joyride.scss";
@import "../assets/css/truebus.scss";
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';
platformBrowserDynamic().bootstrapModule(AppModule);
import { Component, ViewChild } from '@angular/core';
import { Nav, Platform, Events } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
/*-------------------Edited By Adarsh--------------------------*/
import { Storage } from '@ionic/storage';
import { Network } from '@ionic-native/network';
import { Common } from "../providers/services/common";
import { Myservice } from "../providers/services/myservice";
import { user } from "../models/mymodel";
import { TranslateService } from '@ngx-translate/core';
import { OneSignal } from '@ionic-native/onesignal';
/*-------------------Edited by Adarsh End ----------------------*/
@Component({
templateUrl: 'app.html'
})
export class TruebusMyApp {
@ViewChild(Nav) nav: Nav;
rootPage: any = 'HomePage';
result:any;
local:user;
lang: string = 'en';
device_id:any
lan:any;
constructor(
public platform: Platform,
public statusBar: StatusBar,
public splashScreen: SplashScreen,
public network: Network,
public common: Common,
public myservice: Myservice,
public storage: Storage,
public events: Events,
private translate: TranslateService,
public oneSignal: OneSignal
) {
this.initializeApp();
this.translate.setDefaultLang('ar');
this.translate.use('ar');
this.translate.setDefaultLang('en');
this.translate.use('en');
events.subscribe('user:created', (user, time) => {
this.local = user;
});
}
updateItem(item){
console.log(item);
this.lang = item==true?'ar':'en';
this.storage.set('lang', this.lang);
this.events.publish('user:lang', this.lang);
this.languageTrans();
}
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this.splashScreen.hide();
var This = this;
setTimeout(function(argument) {
This.languageTrans();
},500)
//
this.events.subscribe('app:lang', data => {
console.log("called");
this.languageTrans();
})
//this.triggerNotification();
this.network.onDisconnect().subscribe(() => {
this.common.presentToast('network was disconnected');
});
this.network.onConnect().subscribe(() => {
this.common.presentToast('network connected');
setTimeout(() => {
if (this.network.type === 'wifi') {
console.log('we got a wifi connection, woohoo!');
}
}, 3000);
});
var data = {"app_key":"my_key"};
this.myservice.post_data('get_app_details',data).then(res=> {
this.result = res;
if(this.result.status!=='success'){
this.nav.setRoot("ErrorPage");
}
console.log(res);
}).catch(res=>{
console.log(res);
})
this.storage.get('user_data').then(data => {
console.log(data)
if (data) {
this.local = data
}
})
});
}
triggerNotification()
{
// Define settings for iOS
var iosSettings = {};
iosSettings["kOSSettingsKeyAutoPrompt"] = false;
iosSettings["kOSSettingsKeyInAppLaunchURL"] = false;
// Initialise plugin with OneSignal service
this.oneSignal.startInit('0594aad6-6487-4140-8fc0-1822ea653100', '893149145204').iOSSettings(iosSettings);
this.oneSignal.registerForPushNotifications();
// Control how OneSignal notifications will be shown when
// one is received while your app is in focus
this.oneSignal.inFocusDisplaying(this.oneSignal.OSInFocusDisplayOption.None);
// Retrieve the OneSignal user id and the device token
this.oneSignal.getIds().then((ids) => {
console.log('getIds: ' + JSON.stringify(ids));
this.device_id =ids;
console.log(this.device_id)
this.storage.set('get_deviceId',this.device_id);
// this.myservice.load_post({ device_id:ids },"store_id").subscribe(response => { })
});
// When a push notification is received handle
// how the application will respond
this.oneSignal.handleNotificationReceived().subscribe((msg) => {
// Log data received from the push notification service
console.log('Notification received');
console.dir(msg);
});
// When a push notification is opened by the user
// handle how the application will respond
this.oneSignal.handleNotificationOpened().subscribe((msg) => {
// Log data received from the push notification service
console.log('Notification opened');
/*console.log(JSON.stringify(msg));
var pool_id = msg.notification.payload.additionalData.pool_id;
if(pool_id)
this.nav.setRoot('QuoteDetailsPage',{'pool_id' : pool_id,'from_push' : false});*/
//console.log(this.event_id);
//this.detail(this.event_id);
});
// End plugin initialisation
this.oneSignal.endInit();
}
cancelticket() {
this.nav.setRoot("CanceltripPage");
}
home() {
this.nav.setRoot("HomePage");
}
login() {
console.log("asdsadasdsa");
this.storage.remove('user_data');
this.local = undefined;
this.nav.setRoot("LoginPage");
}
changepass() {
this.nav.setRoot("ChangepassPage");
}
trip_list(){
console.log("trip_list");
this.nav.setRoot("TripPage");
}
notification(){
this.nav.setRoot("NotificationPage");
}
signup(){
this.nav.setRoot("SignupPage");
}
forgot(){
this.nav.setRoot("ChangepassPage");
}
signin(){
this.nav.setRoot("LoginPage");
}
languageTrans() {
var This = this;
setTimeout(function () {
This.storage.get('lang').then(data => {
console.log(data)
if (data) {
This.translate.setDefaultLang(data);
This.translate.use(data);
This.lang = data;
if(data=='ar'){
This.lan = true;
}
}
else {
This.translate.setDefaultLang('en');
This.translate.use('en');
}
//This.lang_trans()
})
}, 500)
}
}
\ No newline at end of file
// http://ionicframework.com/docs/v2/theming/
/*
Site Name:TukkibiApp
URI: http:
Description: This is the theme css for TukkibiApp
Version: 0.1
Author: Amal-Techware Solution
Author URI:
Tags:
---------------------------
THEME STYLES
---------------------------
TABLE OF CONTENTS
---------------------------
01. FONTS-N-SIZES
02. FONTS-COLOR
03. THEMES-N-BACKGROUNDS
04. SPACING-N-POSITIONS
05. ALIGMENTS
06. ALERTS-N-MESSAGES
07. BODY-STRUCTURE
08. OVERWRITTEN
*/
/*-------------------------------
01. FONTS-N-SIZES
--------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i');
* {
font-family: 'Roboto', sans-serif;
}
*::-webkit-scrollbar {
display: none;
}
.no-scroll .scroll-content {
overflow: hidden;
}
a {
text-decoration: none !important;
cursor: pointer !important;
}
button {
cursor: pointer !important;
}
/*-------------------------------
02. FONTS-SETTINGS
--------------------------------*/
.text_color_white {
color: #fff !important;
}
.font_size_xs {
font-size: 12px !important;
}
.font_size_sm {
font-size: 14px !important;
}
.font_size_md {
font-size: 16px !important;
}
.font_size_lg {
font-size: 18px !important;
}
.font_size_xl {
font-size: 20px !important;
}
.font_size_vl {
font-size: 35px !important;
}
.font_weight300 {
font-weight: 300 !important;
}
.font_weight400 {
font-weight: 400 !important;
}
.font_weight500 {
font-weight: 500 !important;
}
.font_weight600 {
font-weight: 600 !important;
}
/*-------------------------------
03. THEMES-N-BACKGROUNDS
--------------------------------*/
.theme_background {
background: url('../assets/imgs/login_background.png');
background-size: cover !important;
background-position: center !important;
}
.theme_gradient {
background-image: linear-gradient(-90deg, #06cd76, #1c94d0);
}
.theme_transparent {
background: transparent !important;
}
.theme1 {
background: #1a3459 !important;
border: 1px solid #1a3459;
}
.theme2 {
background: #5ae44d !important;
border: 1px solid #5ae44d;
}
.theme_white {
background-color: #f7f8fd !important;
}
.theme_off_white {
background-color: #f4f4f4 !important;
}
.theme_dark_transparent {
background-color: rgba(0, 0, 0, 0.6) !important;
}
.theme_white_transparent {
background-color: rgba(243, 243, 243, 0.6) !important;
}
/*-------------------------------
04. SPACING-N-POSITIONS
--------------------------------*/
.width25 {
width: 25% !important;
}
.width50 {
width: 50% !important;
}
.width75 {
width: 75% !important;
}
.widthFull {
width: 100% !important;
}
.widthAuto {
width: auto !important;
}
.height25 {
height: 25% !important;
}
.height50 {
height: 50% !important;
}
.height75 {
width: 75% !important;
}
.heightFull {
height: 100% !important;
}
.heightAuto {
height: auto !important;
}
.p0 {
padding: 0px !important;
}
.pl0 {
padding-left: 0px !important;
}
.pr0 {
padding-right: 0px !important;
}
.pt0 {
padding-top: 0px !important;
}
.pb0 {
padding-bottom: 0px !important;
}
.p10 {
padding: 10px !important;
}
.m0 {
margin: 0px !important;
}
.ml0 {
margin-left: 0px !important;
}
.mr0 {
margin-right: 0px !important;
}
.mt0 {
margin-top: 0px !important;
}
.mb0 {
margin-bottom: 0px !important;
}
.mAuto {
margin: 0 auto !important;
}
.clear {
clear: both !important;
}
.absolute {
position: absolute !important;
}
.relative {
position: relative !important;
}
.fixed {
position: fixed !important;
}
/*-------------------------------
05. ALIGMENTS
--------------------------------*/
.floatLeft {
float: left !important;
}
.floatRight {
float: right !important;
}
.textLeft {
text-align: left !important;
}
.textRight {
text-align: right !important;
}
.textCenter {
text-align: center !important;
}
/*-------------------------------
06. BODY-STRUCTURE
--------------------------------*/
.nav_header {
width: 100%;
z-index: 999;
}
.nav_btn {
width: 50px !important;
height: 50px !important;
background: transparent;
margin: 0px;
font-size: 25px;
color: #fff;
padding: 0px !important;
box-shadow: none !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 25px !important;
}
.nav_header_title {
height: 100%;
font-weight: 400;
font-size: 16px;
color: #fff;
padding: 8px;
font-weight: 400;
text-transform: capitalize;
width: calc(100% - 120px);
letter-spacing: 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 10px;
padding-right: 10px;
text-align: center;
}
.nav_header_title img {
width: 100px;
}
.nav_header_title .icon {}
.clear {
clear: both !important;
}
.border {
border: 1px solid;
}
.borderNone {
border: none !important;
}
.nav_header_title h5 {
color: #fff;
margin: 0px;
padding: 7px;
text-align: left;
font-weight: 300;
padding-left: 0px;
}
.nav_white_header {
background: #ffffff;
.nav_btn {
color: #606060;
}
.nav_header_title {
h5 {
color: #707070;
text-align: left;
font-weight: 400;
}
}
}
.loading-content img{
width:70px;
}
.pop_ad_container{
position:fixed;
bottom:0px;
left:0px;
right:0px;
background:#c7c7c7;
height:65px;
img{
width:100%;
height:100%;
object-position:center;
object-fit:cover;
}
.icon{
float: right;
font-size: 30px;
position: absolute;
top: 25%;
right: 20px;
}
}
\ No newline at end of file
{
"menu":{
"Home": "الصفحة الرئيسية ",
"My Trip": "رحلتي ",
"Notification": "إعلام ",
"Cancel ticket": "إلغاء التذكرة ",
"Change Password": "تغير كلمة السر",
"Logout": "الخروج",
"Guest": "زائر",
"Sign In": "تسجيل الدخول",
"Sign up": "فتح حساب",
"Forgot Password": "نسيت كلمة المرور"
},
"home": {
"Boarding Point": "نقطة الصعود",
"Destination Point": "مكان الوصول",
"Search Bus":"بحث عن حافلة",
"Date of Travel":"تاريخ الرحلة"
},
"login":{
"Mobile Number": "رقم الهاتف",
"Password": "كلمة السر",
"Login": "تسجيل الدخول",
"Forgot Password ?":"هل نسيت كلمة المرور ؟",
"Add a new account":"إضافة حساب جديد",
"Invalid phone number": "رقم الهاتف غير صحيح",
"Minimum 6 characters required": "الحد الأدنى 6 أحرف المطلوبة"
},
"signup":{
"Email":"البريد الإلكتروني",
"Invalid Email ID":"البريد الإلكتروني غير صالح",
"Mobile Number":"رقم الهاتف",
"Enter a valid Mobile":"أدخل رقم هاتف صالح",
"Password":"كلمه السر",
"Minimum 6 characters":"الحد الأدنى 6 أحرف",
"Confirm Password":"تأكيد كلمة المرور",
"Password mismatches":"عدم تطابق كلمة المرور",
"I accept Terms & Conditions":"أوافق على الشروط والأحكام",
"Please accept terms & conditions":"يرجى قبول الشروط والأحكام",
"Signup":"التسجيل",
"Already had an account ?":"لديك حساب ؟"
},
"search":{
"Search Results":"نتائج البحث",
"To":"إلى",
"Seats":"مقاعد",
"Currently No Bus avaliable between":"حاليا لا حافلة متاحة بين"
},
"filter":{
"Sort & Filter":"بحث مفصل",
"Reset":"إعادة تعيين",
"Bus Type":"نوع الحافلة",
"Location & Travel":"مواقع و رحلات",
"Travels":"رحلات",
"Boarding Point":"نقطة الصعود",
"Dropping Point":"مكان الوصول",
"Amenities":"وسائل الراحة",
"DONE":"تفعيل"
},
"seat":{
"Pick your seats":"اختر مقاعدك",
"Available Seats":"المقاعد المتاحة",
"Selected Seats":"مقاعد مختارة",
"Booked Seats":"حجز مقاعد",
"Seats":"المقاعد",
"Total Fare":"الأجرة الكلية",
"DONE":"تفعيل"
},
"boarding":{
"Select boarding point":"اختر نقطة الصعود",
"Search boarding points":"البحث في نقاط الصعود",
"NEXT":"التالى"
},
"passanger":{
"Passenger details":"تفاصيل الركاب",
"Passenger detail":"تفاصيل الركاب",
"Name of the Passenger":"اسم الراكب",
"Sorry, field Passanger name is required!":"عذرا ، حقل اسم المسافر مطلوب!",
"Age":"سن",
"Sorry, field Age is required!":"عذرا ، حقل العمر مطلوب!",
"Male":"ذكر",
"Female":"أنثى",
"Book":"تفعيل الحجز"
},
"authcheck":{
"Mobile Number":"رقم الهاتف ",
"Invalid phone number":"رقم الهاتف غير صحيح",
"Password":"كلمه السر",
"Minimum 6 characters required":"الحد الأدنى 6 أحرف المطلوبة",
"Login":"تسجيل الدخول",
"Add a new account":"إضافة حساب جديد",
"Email":"البريد الإلكتروني",
"Invalid Email ID":"البريد الإلكتروني غير صالح",
"Enter a valid Mobile":"رقم الهاتف غير صحيح",
"Password":"كلمه السر",
"Minimum 6 characters":"الحد الأدنى 6 أحرف ",
"Confirm Password":"تأكيد كلمة المرور",
"Password mismatches":"عدم تطابق كلمة المرور",
"I accept Terms & Conditions":"أوافق على الشروط والأحكام",
"Please accept terms & conditions":"يرجى قبول الشروط والأحكام",
"Signup":"سجل",
"Already had an account ?":"لديك حساب ؟"
},
"booking":{
"Booking Summary":"ملخص الحجز",
"Ticket Details":"تفاصيل التذكرة",
"BOOKING ID":"رقم الحجز",
"BOOKING":"الحجز",
"CONFIRMED SUCCESSFULLY":"أكدت بنجاح",
"Trip Details":"تفاصيل الرحلة",
"BUS NAME":"اسم الحافلة",
"TYPE":"نوع",
"DATE":"تاريخ",
"DEPARTURE PLACE & TIME":"مكان المغادرة والوقت",
"TOTAL AMOUNT":"المبلغ الإجمالي",
"Customer Details":"تفاصيل العميل",
"Name":"الإ سم",
"Age":"سن",
"Gender":"نوع",
"DONE":"تفعيل"
},
"summery":{
"Your payment is":"دفعتك",
"Succesfull":"ناجح",
"Booking ID":"معرف الحجز",
"HOME":"الصفحة الرئيسية",
"MY TRIPS":"رحلاتي"
},
"others":{
"My trips":"رحلاتي",
"My Notification":"إشعار",
"ErrorPage":"ErrorPage"
},
"cancel":{
"Ticket Number":"رقم التذكرة",
"Invalid Booking Id":"رقم الحجز غير صحيح",
"Email ID":"عنوان الايميل",
"Invalid email Id":" البريد الإلكتروني غير صالح",
"Cancel ticket":"إلغاء التذكرة"
},
"change":{
"Old Password":"كلمة المرور القديمة",
"Invalid Password":"رمز مرور خاطئ",
"New Password":"كلمة السر الجديدة",
"Invalid New Password":"كلمة المرور الجديدة غير صالحة",
"Confirm New Password":"تأكيد كلمة المرور الجديدة",
"Password mismatches":"عدم تطابق كلمة المرور",
"SAVE":"حفظ"
},
"forgot":{
"Forgot Page":"نسيت صفحة",
"Enter email ID":"أدخل البريد الإلكتروني",
"Invalid Email ID":" البريد الإلكتروني غير صالح",
"Request":"طلب"
}
}
\ No newline at end of file
{
"menu":{
"Home": "Home",
"My Trip": "My Trip",
"Notification": "Notification",
"Cancel ticket": "Cancel ticket",
"Change Password": "Change Password",
"Logout": "Logout",
"Guest": "Guest",
"Sign In": "Sign In",
"Sign up": "Sign up",
"Forgot Password": "Forgot Password"
},
"home": {
"Boarding Point": "Boarding Point",
"Destination Point": "Destination Point",
"Search Bus":"Search Bus",
"Date of Travel":"Date of Travel"
},
"login":{
"Mobile Number": "Mobile Number",
"Password": "Password",
"Login": "Login",
"Forgot Password ?":"Forgot Password ?",
"Add a new account":"Add a new account",
"Invalid phone number": "Invalid phone number",
"Minimum 6 characters required": "Minimum 6 characters required"
},
"signup":{
"Email":"Email",
"Invalid Email ID":"Invalid Email ID",
"Mobile Number":"Mobile Number",
"Enter a valid Mobile":"Enter a valid Mobile",
"Password":"Password",
"Minimum 6 characters":"Minimum 6 characters",
"Confirm Password":"Confirm Password",
"Password mismatches":"Password mismatches",
"I accept Terms & Conditions":"I accept Terms & Conditions",
"Please accept terms & conditions":"Please accept terms & conditions",
"Signup":"Signup",
"Already had an account ?":"Already had an account ?"
},
"search":{
"Search Results":"Search Results",
"To":"To",
"Seats":"Seats",
"Currently No Bus avaliable between":"Currently No Bus avaliable between"
},
"filter":{
"Sort & Filter":"Sort & Filter",
"Reset":"Reset",
"Bus Type":"Bus Type",
"Location & Travel":"Location & Travel",
"Travels":"Travels",
"Boarding Point":"Boarding Point",
"Dropping Point":"Dropping Point",
"Amenities":"Amenities",
"DONE":"DONE"
},
"seat":{
"Pick your seats":"Pick your seats",
"Available Seats":"Available Seats",
"Selected Seats":"Selected Seats",
"Booked Seats":"Booked Seats",
"Seats":"Seats",
"Total Fare":"Total Fare",
"DONE":"DONE"
},
"boarding":{
"Select boarding point":"Select boarding point",
"Search boarding points":"Search boarding points",
"NEXT":"NEXT"
},
"passanger":{
"Passenger details":"Passenger details",
"Passenger detail":"Passenger detail",
"Name of the Passenger":"Name of the Passenger",
"Sorry, field Passanger name is required!":"Sorry, field Passanger name is required!",
"Age":"Age",
"Sorry, field Age name is required!":"Sorry, field Age name is required!",
"Male":"Male",
"Female":"Female",
"Book":"Book"
},
"authcheck":{
"Mobile Number":"Mobile Number",
"Invalid phone number":"Invalid phone number",
"Password":"Password",
"Minimum 6 characters required":"Minimum 6 characters required",
"Login":"Login",
"Add a new account":"Add a new account",
"Email":"Email",
"Invalid Email ID":"Invalid Email ID",
"Enter a valid Mobile":"Enter a valid Mobile",
"Minimum 6 characters":"Minimum 6 characters",
"Confirm Password":"Confirm Password",
"Password mismatches":"Password mismatches",
"I accept Terms & Conditions":"I accept Terms & Conditions",
"Please accept terms & conditions":"Please accept terms & conditions",
"Signup":"Signup",
"Already had an account ?":"Already had an account ?"
},
"booking":{
"Booking Summary":"Booking Summary",
"Ticket Details":"Ticket Details",
"BOOKING ID":"BOOKING ID",
"BOOKING":"BOOKING",
"CONFIRMED SUCCESSFULLY":"CONFIRMED SUCCESSFULLY",
"Trip Details":"Trip Details",
"BUS NAME":"BUS NAME",
"TYPE":"TYPE",
"DATE":"DATE",
"DEPARTURE PLACE & TIME":"DEPARTURE PLACE & TIME",
"TOTAL AMOUNT":"TOTAL AMOUNT",
"Customer Details":"Customer Details",
"Name":"Name",
"Age":"Age",
"Gender":"Gender",
"DONE":"DONE"
},
"summery":{
"Your payment is":"Your payment is",
"Succesfull":"Succesfull",
"Booking ID":"Booking ID",
"HOME":"HOME",
"MY TRIPS":"MY TRIPS"
},
"others":{
"My trips":"My trips",
"My Notification":"My Notification",
"ErrorPage":"ErrorPage"
},
"cancel":{
"Ticket Number":"Ticket Number",
"Invalid Booking Id":"Invalid Booking Id",
"Email ID":"Email ID",
"Invalid email Id":"Invalid email Id",
"Cancel ticket":"Cancel ticket"
},
"change":{
"Change Password":"Change Password",
"Old Password":"Old Password",
"Invalid Password":"Invalid Password",
"New Password":"New Password",
"Invalid New Password":"Invalid New Password",
"Confirm New Password":"Confirm New Password",
"Password mismatches":"Password mismatches",
"SAVE":"SAVE"
},
"forgot":{
"Forgot Page":"Forgot Page",
"Enter email ID":"Enter email ID",
"Invalid Email ID":"Invalid Email ID",
"Request":"Request"
}
}
\ No newline at end of file
{
"HELLO": "hola"
}
\ No newline at end of file
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 04, 2017 at 12:02 PM
-- Server version: 5.7.14
-- PHP Version: 5.6.25
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `doan_joyride`
--
-- --------------------------------------------------------
--
-- Table structure for table `book_push`
--
CREATE TABLE `book_push` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`book_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `book_push`
--
INSERT INTO `book_push` (`id`, `user_id`, `book_id`) VALUES
(1, 33, 33);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `book_push`
--
ALTER TABLE `book_push`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `book_push`
--
ALTER TABLE `book_push`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment