$insselect = $wpdb->get_results("SELECT user_login FROM wp_vd_users WHERE user_login = '".$login."'");
if (!empty($insselect)) {
foreach ($insselect as $row) {
$uslogin = $row->user_login;
}
}
$vdusersdataphone = $wpdb->get_var("SELECT user_phone FROM wp_vd_users WHERE user_login = '".$_SESSION['login']."'");
echo $vdusersdataphone;
const
gulp = require('gulp'),
gulpHtmlTasks = require('gulp-html-tasks');
const env = process.env.NODE_ENV ? process.env.NODE_ENV : 'production';
const destinations = {
development: ['var', '../web/assets2/html'],
production: '../web/assets2/html'
};
const getDestination = env => {
return undefined !== destinations[env] ? destinations[env] : destinations['production'];
};
gulpHtmlTasks(gulp, {
env: env,
destination: getDestination(env),
publicPath: env == "production" ? '/assets2/html/' : '',
aliases: {
'jquery': 'jquery/dist/jquery',
'underscore': 'underscore/underscore'
},
provides: {
jQuery: 'jquery',
'window.jQuery': 'jquery'
}
});