Hello sir
Today(12-6-2023) Work update
1.Tie admin bugs solved
----------------------------------------------------- ----------------------------
Tomorrow's Task :LeadsIMS  client feedback admin point and Doctor admin work
I confirm that resources for tomorrow's task are VERIFIED by me. Good Night Everyone


Tomorrow's Task : NA


Good Night Everyone

https://youngdecade.org/2023/toy/admin/index.php
info@mailinator.com
123456
2.Technician LeadsIMS admin client feedback point
3.Hellowash admin work
4.YD Media Admin Work
1.YD Media Admin work
https://youngdecade.org/2023/YdMedia/admin/index.php
info@mailinator.com
123456
2.work on Anaweza admin bugs
3.work on Memoryn admin client feedback point
1.Pharma admin work
https://youngdecade.org/2023/pharma/admin/
info@mailinator.com
123456
2.work on Anaweza admin bugs
3.work on Safelove admin point
2.Paarking Admin work

Date 10-6-2023
Soccer admin backup link
https://onedrive.live.com/?authkey=%21AGg0LCCctk%5F2xO4&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186349&parId=40D82EE72C9A2C5E%21181757&o=OneUp
Soccer sql link
https://onedrive.live.com/?authkey=%21AGg0LCCctk%5F2xO4&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186350&parId=40D82EE72C9A2C5E%21181757&o=OneUp

IndiaSmartService Admin Backup link
https://onedrive.live.com/?authkey=%21ABhfLXTcGgPHuWQ&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186344&parId=40D82EE72C9A2C5E%21183081&o=OneUp
IndiaSmart DB Link
https://onedrive.live.com/?authkey=%21ABhfLXTcGgPHuWQ&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186346&parId=40D82EE72C9A2C5E%21183081&o=OneUp

Toy admin backup link
https://onedrive.live.com/?authkey=%21ABYRaaNVQ%2DEe0C0&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21185824&parId=40D82EE72C9A2C5E%21182428&o=OneUp
Toy DB Link
https://onedrive.live.com/?authkey=%21ABYRaaNVQ%2DEe0C0&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21185825&parId=40D82EE72C9A2C5E%21182428&o=OneUp

Vigyapn Admin Backup link
https://onedrive.live.com/?authkey=%21ANADV9brQoMHKYE&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186354&parId=40D82EE72C9A2C5E%21174856&o=OneUp
Vigyapn DB Link
https://onedrive.live.com/?authkey=%21ANADV9brQoMHKYE&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186355&parId=40D82EE72C9A2C5E%21174856&o=OneUp

Tie Admin Backup link
https://onedrive.live.com/?authkey=%21AJJNYfgbnweHKjI&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186358&parId=40D82EE72C9A2C5E%21170060&o=OneUp
Tie DB Link
https://onedrive.live.com/?authkey=%21AJJNYfgbnweHKjI&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186359&parId=40D82EE72C9A2C5E%21170060&o=OneUp
Tie Webservice Back up Link
https://onedrive.live.com/?authkey=%21AJJNYfgbnweHKjI&cid=40D82EE72C9A2C5E&id=40D82EE72C9A2C5E%21186365&parId=40D82EE72C9A2C5E%21170060&o=OneUp


3.Anaweza admin bugs 
https://anaweza.com/app/admin/index.php
info@mailinator.com
123456

B2B Admin backup link
https://1drv.ms/u/s!Al4smiznLthAivNOAWpyr41mf6g_kA?e=l3rQJn
 
Memoryn admin backup link
https://1drv.ms/u/s!Al4smiznLthAivNRmn61n65e24Wxqw?e=qZS7AN

-----------------------------------------------------------------------------------------

$username	=	'youngiw2_2022';

$password	=	'C$s98h~tBE2G';


$username	=	'youngiw2_2023';

$password	=	'C$s98h~tBE2G';

j5SKAq,QqSDl



Meribhi app server Cpanel
https://meribhiapp.com:2083/
username= meribhiapp
password= YoungDecade.Pass@2023

Skip to content
Using Gmail with screen readers

Conversations
8.55 GB of 15 GB used
Terms · Privacy · Program Policies
Last account activity: 1 minute ago
Open in 1 other location · Details

Meribhi app server Cpanel
https://meribhiapp.com:2083/
username= meribhiapp
password= Yd.New@2023





i-Cart Tee time booking app
OneDrive URL =  https://1drv.ms/u/s!Al4smiznLthAh4xD2_EcRvi7uhwuyw?e=tx4NIr
marvel = https://marvelapp.com/prototype/ch63398


https://ui8.net/ui-ux-designer/products

FTP
FTP Username: icart@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password - csF2[2G^b{o1


url:https://youngdecade.org/2021/icart/admin/index.php
username:info@mailinator.com
password:123456
-----------------------------------------------------------------------------

sublime text filezilla filetype association
css "C:\Program Files\Sublime Text 3\sublime_text.exe"
js "C:\Program Files\Sublime Text 3\sublime_text.exe"
php "C:\Program Files\Sublime Text 3\sublime_text.exe"
============================================================================
EventPal App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAh5YXggXd0h0bmvKcXg?e=bl8OXR

Marvel: https://marvelapp.com/prototype/h4148e1

FTP
FTP Username: event_pal@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password - csF2[2G^b{o1


https://youngdecade.org/2021/event_pal/admin/index.php


============================================================================
<IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteRule ^(.*) public/$1 [L]

</IfModule>

 <?php $date1 = date("Y-m-d\TH:i:s", strtotime($getEditData['start_date_time']));?>

 <?php  $date = date("Y-m-d\TH:i:s", strtotime(date('d-m-Y')));?>
min="<?php echo $date?>"
======================================================================

video preview on upload


document.getElementById("videoUpload").onchange = function(event) {
  let file = event.target.files[0];
  let blobURL = URL.createObjectURL(file);
  document.querySelector("video").style.display = 'block';
  document.querySelector("video").src = blobURL;
}
<input type='file'  id='videoUpload'/>

<video width="320" height="240" style="display:none" controls autoplay>
  Your browser does not support the video tag.
</video>

---------------------------------------------------------------------------------

Gurlish App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAh6JXxbd1ASTqFijhTQ?e=aj3erC
marvel = https://marvelapp.com/prototype/2bg040cg

Gurlish App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAh6JXxbd1ASTqFijhTQ?e=aj3erC
marvel = https://marvelapp.com/prototype/2bg040cg


FTP
FTP Username: gurlish@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password - csF2[2G^b{o1
===========================================================================

jaminShodho
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAh5Y4L5Aj7ubb3XRKqA?e=HfPOY7

marvel = https://marvelapp.com/prototype/15ejicf9

FTP
FTP Username: JaminShodho@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password - csF2[2G^b{o1


url: https://youngdecade.org/2021/JaminShodho/admin/index.php
username=info@mailinator.com
password:123456

==========================================================================

Technician App
Development Date  =
OneDrive Url =  https://1drv.ms/u/s!Al4smiznLthAhfAwy3CcuLbXZUA5nQ?e=dW5rgq
murvel =  https://marvelapp.com/prototype/5bddj8e


FTP
FTP Username: Technician@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password=  ]Qw-d{B)aShY


http://youngdecade.org/2021/Technician/admin/

http://youngdecade.org/2021/Technician/subadmin/


Url:http://youngdecade.org/2021/Technician/admin/
Username: info@mailinator.com
Password: 123456

Url:http://youngdecade.org/2021/Technician/subadmin/
coordinator login :
user name:maxwill@mailinator.com
Report generator login:
username:alishafox@mailinator.com
Invoice generator login
username:williamsmith@mailinator.com
password :123456

oneSignalAppId----7d00641b-3978-40a9-9b78-51b12ac4eb4e

oneSignalAuthorization------ZWJkYjZiNjUtNzE3Yy00YzZhLTkwYmEtOWQyMzgyZTliMTgy
=======================================================================================================

YD Admin

https://youngdecade.in/cpanel
username=ydindecade
Yashwant@@2021

Host: ftp.youngdecade.in
Username:mayur@youngdecade.in
Password: mayur@@1234


$mail_host = 'mail.youngdecade.org';
$mail_username = 'info@youngdecade.org';
$mail_password = 'Nileshyd@@26';
$mail_SMTPSecure = 'ssl';
$mail_port = '465';
$mail_from = 'info@youngdecade.org';
$fromName = $app_name;




OneDrive link = https://1drv.ms/u/s!Al4smiznLthAh41bsac0fM2337z5KQ?e=Rhgzfg
=======================================================================================
construction
https://onedrive.live.com/?authkey=%21ACTi%5FhvK4m%2DZWN0&id=40D82EE72C9A2C5E%2189843&cid=40D82EE72C9A2C5E

FTP
Host:103.195.185.30
User:construction@youngdecade.org
Password:hWVZ*Q=^n)K6


Admin url
Url:http://youngdecade.org/2021/construction/admin/
Username: info@mailinator.com
Password: 123456


project Admin url
Url:http://youngdecade.org/2021/construction/project/
Username: bypassroad@mailinator.com
Password: 123456

company Admin url
Url:http://youngdecade.org/2021/construction/company/
Username: nileshbirla@mailinator.com
Password: 123456 
==========================================================================
Clinical Experience (Heroes App)
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAh7t6BGcpocWOzkXU_w?e=PkSBiA
work marvel = https://marvelapp.com/prototype/8di911a
Hire marvel = https://marvelapp.com/prototype/h814f51/

ftp detaile
FTP Username: clinicalexperience@youngdecade.org
FTP server:  103.195.185.30
FTP & explicit FTPS port:  21
password : DdH_n$jz~%MG
=============================================================================

   $("#fileUpload21").on('change', function () {
        //----------------- Image Preview and validation code start here -------------------
        var countFiles = $(this)[0].files.length;
        if(countFiles==0){
            $(this)[0].value='';
              var image_holder = $("#image_holder");
              $(image_holder).attr('src', 'assets/images/placeholder.png');
                // notifyMessage.warning('Warning!', 'This browser does not support FileReader');
                return false;
        }else{
            var imgPath = $(this)[0].value;
            var extn = imgPath.substring(imgPath.lastIndexOf('.') + 1).toLowerCase();
            var image_holder = $("#image_holder");
            console.log('fffdfh',image_holder);
            image_holder.empty();
            console.log('123',image_holder);
            console.log('countFiles',countFiles);

            if (extn == "png" || extn == "jpg" || extn == "jpeg") {
                if (typeof (FileReader) != "undefined") {
                    for (var i = 0; i < countFiles; i++) {
                        var reader = new FileReader();
                        reader.onload = function (e) {
                            $(image_holder).attr('src', e.target.result);
                        }
                        image_holder.show();
                        reader.readAsDataURL($(this)[0].files[i]);
                    }

                }else {
                    $(this)[0].value='';
                    // notifyMessage.warning('Warning!', 'This browser does not support FileReader');
                    return false;
                }

            }else {
                $(this)[0].value='';
                
                return false;
            }

        }
        
        //----------------- Image Preview and validation code end here -------------------
        });
   
$('#fileUpload1').change(function(event){
    var x = URL.createObjectURL(event.target.files[0]);
     $('#image_holder1').attr('src',x);
  });

$('#fileUpload21').change(function(event){
     
  //   //console.log(x);

  var countFiles = $(this)[0].files.length;
        if(countFiles==0){
            $(this)[0].value='';
              var image_holder = $("#image_holder");
              $(image_holder).attr('src', 'assets/images/placeholder.png');
                // notifyMessage.warning('Warning!', 'This browser does not support FileReader');
                return false;
        }else{
            var x = URL.createObjectURL(event.target.files[0]);
           $('#image_holder').attr('src',x);  
        }

  //    $('#image_holder').attr('src',x);
   

   });

        <!-- <script type="text/javascript">
        $(function(){
    var dtToday = new Date();
    
    var month = dtToday.getMonth() + 1;
    var day = dtToday.getDate();
    var year = dtToday.getFullYear();
    if(month < 10)
        month = '0' + month.toString();
    if(day < 10)
        day = '0' + day.toString();
    
    var minDate= year + '-' + month + '-' + day;
    
    $('#sdate').attr('min', minDate);
    $('#fdate').attr('min', minDate);
});
    </script> -->

$('#example').DataTable( {
        dom: 'Bfrtip',
        buttons: [
            {
                extend: 'copyHtml5',
                exportOptions: {
                    columns: [ 0, ':visible' ]
                }
            },
            {
                extend: 'excelHtml5',
                exportOptions: {
                    columns: ':visible'
                }
            },
            {
                extend: 'pdfHtml5',
                exportOptions: {
                    columns: [ 0, 1, 2, 5 ]
                }
            },
            'colvis'
        ]

  <?php
  $date = date("Y-m-d\TH:i:s", strtotime(date('Y-m-d')));?>
<input type="datetime-local" class="form-control" name="date" id="date" placeholder="Enter event date and time" value="<?php echo $getEditData['tournament_date']?>"  min="<?php echo $date;?>" >

$.validator.addMethod("customemail", 
    function(value, element) {
        return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(value);
    }, 
    "Enter valid email"
); 

jQuery.validator.addMethod("phoneUS", function(phone_number, element) {
    phone_number = phone_number.replace(/\s+/g, "");
    return this.optional(element) || phone_number.length > 9 && 
    phone_number.match(/^(\+?1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/);
}, "Please specify a valid phone number");


  @foreach($users as $user)
                                                
                       <option value="{{$user->user_id}}"
                        @if (in_array($user->user_id, explode(',',$area_data['service_boy_id'])))
                        {{'selected'}}
                         @endif >{{$user->name}}
                       </option>
                                                @endforeach

$area_data = \DB::table("area_master")
        ->select("area_master.*",\DB::raw("GROUP_CONCAT(user_master.name) as name"))
        ->leftjoin("user_master",\DB::raw("FIND_IN_SET(user_master.user_id,area_master.service_boy_id)"),">",\DB::raw("'0'"))
        ->groupBy("area_master.area_id")
        ->get()->where('delete_flag',0);

data-maxlength="10" oninput="this.value=this.value.slice(0,this.dataset.maxlength)"

$('.number-only').keyup(function(e) {
            if(this.value!='-')
              while(isNaN(this.value))
                this.value = this.value.split('').reverse().join('').replace(/[\D]/i,'')
                                       .split('').reverse().join('');
            });

 function getDrawingDataTree(){
    include('config.php');

    $project_id =decode($_SESSION['puser_id']);
   
    $sql = "SELECT project_drawing_id,drawing_code,drawing_name FROM project_drawing_master WHERE delete_flag = 0 AND project_id = ? ";
    $result=$mysqli->prepare($sql);
    $result->bind_param('i',$project_id);
    $result->execute();
    $result->store_result();
    $row = $result->num_rows;
    if($row > 0){
        $result->bind_result($project_drawing_id,$drawing_code,$drawing_name);
        while($result->fetch()){
         echo '<option value="'.$project_drawing_id.'">'.$drawing_code.'('.$drawing_name.')</option>';
        
        }
       
        
    }
    // if(empty($root_id)){
    //         $root_id = "NA";
    //     }
    //     $mysqli->close();
    //     return $root_id;

  }

$('#mtype option[value="'+mile_type+'"]').attr('selected', 'selected');

 jQuery.validator.addMethod("noSpace", function(value, element) {
               return value == '' || value.trim().length != 0;  
           }, "No space please and don't leave it empty");  


 <option value="" selected disabled hidden>Choose here</option>

<span class="text-warning">
                                     <?php // font awesome 5 icons
                                       $rating_number   = $rating_data[0]['rating'];
                                       $numberTodecimal = number_format($rating_number,1);
                                       $second_number   = round($rating_number,0,PHP_ROUND_HALF_UP);
                                       $numberTostring  = explode('.',$numberTodecimal);
                                   
                                       $star_rating_img = '';
                                       if($numberTostring[0]>0){
                                         for($i=1;$i<=5;$i++){
                                           if($i <= $numberTostring[0]){
                                             $star_rating_img.='<i class="fas fa-star"></i>';
                                           }
                                           else{
                                             if($i <= $second_number){
                                               $star_rating_img.='<i class="fas fa-star-half"></i>';
                                             }
                                             else{
                                               $star_rating_img.='<i class="far fa-star"></i>';
                                             }
                                           }
                                         }
                                       }
                                       else {
                                         for($i=1;$i<=5;$i++){
                                           $star_rating_img.='<i class="far fa-star"></i>';
                                         }
                                       }
                                     ?>
                                     <span class="text-warning">
                                       <?php
                                         echo $star_rating_img;
                                       ?>
                                     </span>
                                   <span class="font-size-sm text-muted"><?php echo $numberTodecimal;?></span>
                                     
                                   </span>


$rating_number   = $totalRating;
                                       $numberTodecimal = number_format($rating_number,1);
                                       $second_number   = round($rating_number,0,PHP_ROUND_HALF_UP);
                                       $numberTostring  = explode('.',$numberTodecimal);
                                   
                                       $star_rating_img = '';
                                       if($numberTostring[0]>0){
                                         for($i=1;$i<=5;$i++){
                                           if($i <= $numberTostring[0]){
                                             $star_rating_img.='<i class="fa fa-star text-warning"></i>';
                                           }
                                           else{
                                             if($i <= $second_number){
                                               $star_rating_img.='<i class="fa fa-star-half text-warning"></i>';
                                             }
                                             else{
                                               $star_rating_img.='<i class="fa fa-star-o text-warning"></i>';
                                             }
                                           }
                                         }
                                       }
                                       else {
                                         for($i=1;$i<=5;$i++){
                                           $star_rating_img.='<i class="fa fa-star-o text-warning"></i>';
                                         }
                                       }




    $rating_data = booking_master::select('service_boy_id', 'rating_review_master.*', DB::raw('AVG(rating_review_master.rating) As rating'))
         ->leftJoin('rating_review_master', 'rating_review_master.other_user_id', '=', 'booking_master.service_boy_id')->where('booking_master.booking_id',$booking_id)->get()->toArray();

 @php
                    $admin = App\Helper\comman_function::getAdminProfile();
                @endphp

https://medium.com/@Alabuja/social-login-in-laravel-with-socialite-90dbf14ee0ab

// find value from group table group concat  it from user id

$groups = \DB::table("group_master")
            ->select("group_master.*",\DB::raw("GROUP_CONCAT(group_master.group_name) as docname"))
            ->leftjoin("user_master",\DB::raw("FIND_IN_SET(user_master.user_id,group_master.user_id)"),">",\DB::raw("'0'"))
            ->where('user_master.user_id',$user_id)
            ->first();

// search particular user for group wise

 $users = group_master::leftjoin("user_master",DB::raw("FIND_IN_SET(user_master.user_id,group_master.user_id)"),">",DB::raw("'0'"))
->where('group_master.group_id',$request->search_user)->get([ 'user_master.*']); 

Using named route return redirect()->route('regions', ['id' => $id])->with('message', 'State saved correctly!!!');

@php $prodID= Crypt::encrypt($data->id); @endphp
                 <!--Encrypt ID and store as $prodID-->
                 <a href="{{route('edit.product',$prodID)}}">Edit</a>
                </td>

 use Illuminate\Support\Facades\Crypt;
$prodID = Crypt::decrypt($id);


$(".toggle-password").click(function() {

          $(this).toggleClass("fa-eye fa-eye-slash");

          var input = $($(this).attr("toggle"));

          if (input.attr("type") == "password") {

            input.attr("type", "text");

          } else {

            input.attr("type", "password");

          }

        });


------------------------------------------------------------------------------------------------------------------------
11-5-2023

<?php
//PHP program to convert seconds into
//hours, minutes, and seconds
$seconds = 6530;

$secs = $seconds % 60;
$hrs = $seconds / 60;
$mins = $hrs % 60;

$hrs = $hrs / 60;

print ("HH:MM:SS-> " . (int)$hrs . ":" . (int)$mins . ":" . (int)$secs);

?>


----------------------------------------------------------------------------------
12-5-2023
calculate end date from duration
<?php
  $date = date("Y-m-d");

  $date = strtotime(date("Y-m-d", strtotime($date)) . " +3 month");
  echo date("Y-m-d",$date);
?>
------------------------------------------------------------------------------------------------------------------------

How to avoid Decimal values in input type number
<input type="number" onkeydown="if(event.key==='.'){event.preventDefault();}"  oninput="event.target.value = event.target.value.replace(/[^0-9]*/g,'');">
----------------------------------------------------------------------------------------------------------------------------------------
 <span toggle="#password"  class="toggle-password field-icon  fa fa-fw fa-eye" style="left: -13px;color: black;"></span> 

    <style>
      .field-icon {

float: right;

margin-left: -18px;

margin-top: -25px;

position: relative;

z-index: 2;

}
    </style>

onerror="this.src='assets/images/placeholder.png';"

  <ul id="progressbar" class="text-center">

                 

                   <li class=" {{ $booking_data[0]['on_the_way_status'] == 1 ? 'active step0' : 'step0 ' }}"></li>

                     <li class=" {{ $booking_data[0]['arrive_status'] == 1 ? 'active step0' : ' step0' }}"></li>

                       <li class=" {{ $booking_data[0]['washing_status'] == 1 ? 'active step0' : ' step0' }}"></li>
                         <li class=" {{ $booking_data[0]['completed_status'] == 1 ? 'active step0' : 'step0 ' }}"></li>
                  
                   
                </ul>

^\n

$(function() {
  $("#graph_select").change(function() {
    if ($("#pilot_form").is(":selected")) {
      $("#pilot_graph_form").show();
      $("#client_graph_form").hide();
    } else {
      $("#pilot_graph_form").hide();
      $("#client_graph_form").show();
    }
  }).trigger('change');
});


       if(store_type=='0'){
       // $('input[name=radioName]:checked', '#myForm').val()
       $('#food').attr('checked', true);
   }else{
      $('#product').attr('checked', true);
   }


 $image_html = '<img  width="50px" src="../webservice/images/'.$image.'" class="rounded-circle circle-border m-b-md img-fix img-responsive" name="profile_image" id="previewholder" style="width: 70px; height: 70px;" alt="" onerror="this.src='.$onerror.';" >';


npx react-native init AwesomeProject --version X.XX.X

 $('#mtype option[value="'+mile_type+'"]').attr('selected', 'selected');

// $('.r1 [value="'+mile_cstatus+'"]').attr('checked', 'checked');
 $("input:radio[value='"+mile_cstatus+"'][name='r1']").prop('checked',true);
 $('#mtype').change();


   // //-------------- DataTable Row Action -----------------
                    $('#user_table').dataTable().fnUpdate(obj.data.active_flag_html , $('tr#'+user_id),6, false);
                    $('#user_table').dataTable().fnUpdate(obj.data.action_html , $('tr#'+user_id),1, false);
                    //-------------- DataTable Row Action end -----------------


 <select class="form-control select2 "  multiple="multiple" id="sel1" name="hashtag[]">

                                                            <?php 
                                             // foreach ($$getProjectData['staff_arr'] as $key => $value) {
                                             //     # code...
                                             // }

                                             $staff_id   =   explode(',', $getUsersData['hashtags']);

                                                $user_id    =   0; 
                                                $name           =   '';
                                                foreach($getShowdataht as $key=>$value) {
                                                $user_id    =   $value['user_id'];
                                                $name           =   $value['name'];
                                                

                                                    $selectedvalue = '';

                                                if(in_array($value['user_id'],$staff_id)){
                                                        $selectedvalue  =   'selected';
                                                    }

                                                ?>
                                                    <option value="<?php echo $user_id;?>" <?php echo $selectedvalue;?>><?php echo $name; ?></option> 

                                                   
                                             <?php  
                                                } 
                                            ?>  
                                                             
                                                           
                                                           </select>


 function getHashtaglist1() {
   
    
        global $mysqli;
        include_once('language_message.php');
        include_once('common_functions_app.php');

        $staff_ary= array();
      
        
        $result = $mysqli->prepare("SELECT hashtag_id,hashtag FROM hashtag_master  where delete_flag=0  ");
      
        $result->execute();
        $result->store_result();
        $row = $result->num_rows;
        if($row > 0){

          $result->bind_result($hashtag_id, $hashtag);
            while($result->fetch()) {
                $staff_ary[]    =   array(
                    'user_id'    =>  $hashtag_id,
                    'name'          =>  $hashtag,
                   
                );
            }
             
        }
        $record=array('success'=>true,'data'=>$staff_ary); 
        return jsonSendEncodeAdmin($record);  
    }

<style>
      
  

table td {
  word-wrap: break-word;
word-break: break-all;  
white-space:normal !important;
}
    </style>

 $('#priview_img11').attr('src','<?php echo $img_url_user_main;?>'+image);


$('.number-only').keyup(function(e) {
            if(this.value!='-')
              while(isNaN(this.value))
                this.value = this.value.split('').reverse().join('').replace(/[\D]/i,'')
                                       .split('').reverse().join('');
            });



function swal_alert(title,messsage,url,icon){
        swal({
            title: title,
            text: messsage,
            icon: icon, //error, success, info
             buttons: false,
            timer: 3000,

        }).then((value) => {
            window.location.href=url;
            dispatch(redirect('/'));
        });

    }

$question_id = $mysqli->insert_id;

 $('#sel1 option[value=""]').prop('selected', 'selected').change();

if(time == 1){
                
                 $('#time1').prop('checked', 'checked');
            }

            if(temperature == 1){
                $('#temp1').prop('checked', 'checked');
            }


$onerror = "'".$app_url."assets/img/no_image_available.jpg'";





dom    : 'Blfrtip',

                                           buttons: [{

                               extend  : 'excel',
                                 text: 'Export to Excel',
                                  title: 'Sussed App - Business Report List',


                               footer  : true,

                               exportOptions : {columns: [0,3,4,5,6,7,8]}

                             }] 




 $image_html = '<img  width="50px" src="../Stax_api/images/'.$image.'" class="rounded-circle circle-border m-b-md img-fix img-responsive" name="profile_image" id="previewholder" style="width: 70px; height: 70px;" alt="" onerror="this.src='.$onerror.';" >';
 $image_html = '<img  width="50px" src="../Stax_api/images/'.$image.'" class="rounded-circle circle-border m-b-md img-fix img-responsive" name="profile_image" id="previewholder" style="width: 70px; height: 70px;" alt="" onerror="this.src='.$onerror.';" >';

 $('#fileUpload').change(function(event){
    var x = URL.createObjectURL(event.target.files[0]);
     $('#image-holder1').attr('src',x);
  });

lG=F26Qo=Mpu

var validator1 = $(".bs-example-modal-center14").validate(); 
$('.bs-example-modal-center14').on('hidden.bs.modal', function (){ validator1.resetForm();
$('.form-control').removeClass('error');
});

$image_html = '<img  width="50px" src="../webservice/images/'.$product_image.'" class="rounded-circle circle-border m-b-md img-fix img-responsive" name="profile_image" id="previewholder" style="width: 70px; height: 70px;" alt="" onerror="this.src='.$onerror1.';">';



$('#image_holder12').attr('src','<?php echo $img_url_user_main;?>'+image);

$image_html = '<div href="#img_view">
								   <img  width="50px" src="' . $img_url_user_main . $image . '" class="rounded-circle circle-border m-b-md img-fix img-responsive" name="profile_image" id="previewholder" onerror=this.src="assets/images/image_placeholder.jpg" style="width: 80px; height: 80px;">

							   </div>';

--------------------------------------------------------------------------------------

show image preview on dynamic image add plus btn

 <input type="file" name="image[]"  onchange="previewFile(this)"/><img height="100px" />
        <a href="javascript:void(0);" class="add_button" title="Add field">+Add More</a>

function previewFile(input) {
  var preview = input.nextElementSibling;
  var file = input.files[0];
  var reader = new FileReader();

  reader.onloadend = function() {
    preview.src = reader.result;
  }

  if (file) {
    reader.readAsDataURL(file);
  } else {
    preview.src = "";
  }
}


-----------------------------------------------------------------------------------------------------

<script>  
  function initMap() {
            var latitude = parseFloat(22.6013);
            var longitude = parseFloat(75.3025);
            var map = new google.maps.Map(document.getElementById('map'), {
                center: {
                    lat: latitude,
                    lng: longitude
                },
                zoom: 13,
                streetViewControl: false,
                mapTypeControl: false,
            });

            marker = new google.maps.Marker({
                map: map,
                draggable: false,
                gestureHandling: 'greedy',
                animation: google.maps.Animation.DROP,
                position: {
                    lat: latitude,
                    lng: longitude
                }
            });
            var card = document.getElementById('pac-card');
            var input = document.getElementById('pac-input');
            var types = document.getElementById('type-selector');
            var strictBounds = document.getElementById('strict-bounds-selector');

            map.controls[google.maps.ControlPosition.TOP_RIGHT].push(card);

            var autocomplete = new google.maps.places.Autocomplete(input);

            // Bind the map's bounds (viewport) property to the autocomplete object,
            // so that the autocomplete requests use the current map bounds for the
            // bounds option in the request.
            autocomplete.bindTo('bounds', map);

            // Set the data fields to return when the user selects a place.
            autocomplete.setFields(
                ['address_components', 'geometry', 'icon', 'name']);

            var infowindow = new google.maps.InfoWindow();
            var infowindowContent = document.getElementById('infowindow-content');
            infowindow.setContent(infowindowContent);
            var marker = new google.maps.Marker({
                map: map,
                anchorPoint: new google.maps.Point(0, -29)
            });

            autocomplete.addListener('place_changed', function() {
                infowindow.close();
                marker.setVisible(false);
                var place = autocomplete.getPlace();
                if (!place.geometry) {
                    // User entered the name of a Place that was not suggested and
                    // pressed the Enter key, or the Place Details request failed.
                    window.alert("No details available for input: '" + place.name + "'");
                    return;
                }

                // If the place has a geometry, then present it on a map.
                if (place.geometry.viewport) {
                    map.fitBounds(place.geometry.viewport);
                } else {
                    map.setCenter(place.geometry.location);
                    map.setZoom(17); // Why 17? Because it looks good.
                }
                marker.setPosition(place.geometry.location);
                marker.setVisible(true);
                console.log('location show lat', place.geometry.location.lat());
                console.log('location show lng', place.geometry.location.lng());
                $('#new_latitude').val(place.geometry.location.lat());
                $('#new_longitude').val(place.geometry.location.lng());
                var address = '';
                if (place.address_components) {
                    address = [
                        (place.address_components[0] && place.address_components[0].short_name || ''),
                        (place.address_components[1] && place.address_components[1].short_name || ''),
                        (place.address_components[2] && place.address_components[2].short_name || '')
                    ].join(' ');
                }

                //infowindowContent.children['place-icon'].src = place.icon;
                //infowindowContent.children['place-name'].textContent = place.name;
                // infowindowContent.children['place-address'].textContent = address;
                infowindow.open(map, marker);
            });
        }</script>

        <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD55KwI5yTpdqweRZoCBBnu8ql_clTR-hc&v=3.exp&libraries=places&callback=initMap"></script>



<script>  

$('#fileupload').change(function(){
   //get the input and the file list
   var input = document.getElementById('fileupload');
   if(input.files.length>5){
       $('.validation').css('display','block');
       return false;
   }else{
       $('.validation').css('display','none');
   }
});
     $("#fileupload").on('change', function() {
                    var total_file = document.getElementById("fileupload").files.length;
                   $('#image_preview').html(' ');
                    for (var i = 0; i < total_file; i++) {
                        
                        $('#image_preview').append("<img height='70px' width='70px'  src='" + URL.createObjectURL(event.target.files[i]) + "'>&nbsp; &nbsp;");


                    }

                });
        </script>  

$("input:radio[value='"+mile_cstatus+"'][name='r1']").prop('checked',true);
f1b9354f-9475-4374-86d3-a5f23b88672b
YzVmYTU3OTctYmFkYy00YTQzLWI1YjYtMWQ4NjVjZDQ1Mzdi
========================================================================

const firebaseConfig = {
  apiKey: "AIzaSyDQc7Mn1c-K0x7fqILtIRQKhqZOBtOAR4o",
  authDomain: "sussed-app.firebaseapp.com",
  projectId: "sussed-app",
  storageBucket: "sussed-app.appspot.com",
  messagingSenderId: "749961330339",
  appId: "1:749961330339:web:d75c07ca7f62beb966c916"

};

========================================================================================

nav tab dropdown active
$('ul.nav.nav-tabs > li > a').click(function(e) {
    e.preventDefault();
    $(this).tab('show');
});

============================================================================================

jQuery.validator.addMethod("greaterThan", 
function(value, element, params) {

    if (!/Invalid|NaN/.test(new Date(value))) {
        return new Date(value) > new Date($(params).val());
    }

    return isNaN(value) && isNaN($(params).val()) 
        || (Number(value) > Number($(params).val())); 
},'Must be greater than {0}.');


$("form").validate({
    rules: {
        EndDate: { greaterThan: "#StartDate" }
    }
});
================================================================
<style>
	.logged-item a {
	    display: -webkit-box !important;
	    -webkit-line-clamp: 1;
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	    /*width: 130px;*/
	    color: #2E3842;
	}

	.logged-item i.fas.fa-chevron-down {
	    position: absolute;
	    top: 30px;
	    font-size: 11px;
	    right: 0;
	    background: #fff;
	    line-height: 9px;
	    padding: 7px 7px;
	}
	.header .has-arrow .dropdown-toggle:after{
	    display:none !important;
	}
	.logged-item {
	    width: 150px;
	}
	.header-navbar-rht .dropdown-menu .dropdown-item {
		 -webkit-box-align: unset!important ;
	}

	.notification_header .count_msg {
	    color: #fff;
	    background: red;
	    width: 19px;
	    height: 19px;
	    line-height: 19px;
	    display: block;
	    position: absolute;
	    bottom: 15px;
	    border-radius: 50%;
	    text-align: center;
	    font-size: 10px;
	    left: 10px;
	}
	.main-nav > li {
	    margin-right: 20px;
	}
	li.notification_header a i {
	    font-size: 16px;
	}

	.main-nav > li > a {
	    line-height: unset;
	    /*padding: 0 !important;*/
	}
	.main-nav li > ul {
	     box-shadow: unset !important; 
	    border-bottom: 1px solid #cccccc47;
	    border-left: 1px solid #cccccc47;
	    border-right: 1px solid #cccccc47;
	}
	.main-nav > li .submenu li a {
	     padding:unset; 
	    border-top: 1px solid #f0f0f0;
	    line-height: 42px;
	    padding-left: 15px !important;
	    padding-right: 15px !important;
	}
</style>
=================================================================================================

Hello wash app
OneDrive URL =  https://1drv.ms/u/s!Al4smiznLthAiPFTkszqiWYoW9jkLg?e=lCN2yb

SMART WASH PROJECT APPLICATION
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAiMlVHnnqcr5lyR3FQg?e=ADC4EH

==================================================================================================================
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
 <!-- SweetAlert2 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.26.9/sweetalert2.all.min.js"></script>

Swal.fire({
title: "An input!",
text: "Write something interesting:",
input: 'text',
showCancelButton: true ,
confirmButtonColor: 'green'
}).then((result) => {
if (result.value) {
    Swal.fire('Result:'+result.value);
}});

function deleteAccount(){
    //alert('hi');
  
Swal.fire({
title: "Are you sure want to delete account!",
text: "Enter Delete Reason",
input: 'textarea',
showCancelButton: true ,
confirmButtonColor: 'green',
inputValidator: (result) => {
    return !result && 'Please enter delete reason'
  },
 
}).then((result) => {
if (result.value) {
    var user_id = '<?php echo $_SESSION['user_id_web']?>';
    //Swal.fire('Result:'+result.value);
    btnDeleteContinue(event,user_id,result.value);

}
// else{
//     alert('Please enter delete reason');
//     return false;
// }
}
);

===================================================================================================================
            var selected_players  = $('select#playerall option:selected').val();
=====================================================================================================================

$('input[name="name_of_your_radiobutton"]:checked').val();
  $('input[type="radio"]').change(function() {
       if($(this).val() == '1') {
            $('#discountdiv').show();           
       }

       else {
            $('#discountdiv').hide();   
       }
   });

$('#fileUpload').change(function(event){
    var x = URL.createObjectURL(event.target.files[0]);
     $('#image-holder1').attr('src',x);
  });
=====================================================================================================================
ftpdetails.txt
Displaying ftpdetails.txt.
-----------------------------------------------------------------------------------------



min="<?php echo date('Y-m-d',strtotime('-18 year'))?>"

$('#sel_milestone option[value="'+mile_id+'"]').attr('selected', 'selected');
 $('#sel_milestone').change();

 function btnReset(){
     $('form#form_validation_add_category').trigger("reset");
     $('#image_holder1').attr('src'," ");
     
  }  

 var validator = $("#add_category_modal").validate(); $('#add_category_modal').on('hidden.bs.modal', function (){ 
    validator.resetForm();
    $('.form-control').removeClass('error');
  });

$sql_diatance ="(3956 * 2 * ASIN(SQRT( POWER(SIN(( $dropoff_latitude - latitute) *  pi()/180 / 2), 2) +COS( $dropoff_latitude * pi()/180) * COS(latitute * pi()/180) * POWER(SIN(( $dropoff_longitude - longitute) * pi()/180 / 2), 2) ))) as distance  
                                 ";
                  




$check_post_all = $mysqli->prepare("SELECT  area_id,area_name,$sql_diatance FROM `manage_area_master` where delete_flag='0' and latitute !='' and longitute != '' and city_id=?   having distance <= 100 order by distance asc limit 1    ");
$check_post_all->bind_param("i", $city_id);
--------------------------------------------------------------------------------
URL : https://kitchengenie.in/app_temp/admin/index.php
info@mailinator.com
123456
Tomorrow's Task : NA 
---------------------------------------------------------------------------------
I confirm that resources for tomorrow's task are VERIFIED by me. Good Night Everyone


--------------------------------------------------------------------------------------
Young Decade Server
http://youngdecade.org/cpanel
username - youngiw2
password - YD.NewNew@@2023
--------------------------------------------------------------------------------------
Zuzu (Videocall_App)
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAiq4f0YkdmBPJOhD5pA?e=ebynb7
marvel user = https://marvelapp.com/prototype/j3e9ag4
marvel host = https://marvelapp.com/prototype/18g7dhd9

https://youngdecade.org/2022/video_call/admin/index.php
info@mailinator.com
123456

VideoCall FTP
FTP Username: videocallapp@youngdecadeprojects.biz
FTP server: ftp.youngdecadeprojects.biz
FTP & explicit FTPS port:  21
password=  c4$im-,?w?{u

https://portal.hostgator.com/login zuzuapptr@gmail.com 12344321Aa**

FTP Username: charmzuzu@zuzuapp.net
FTP server: ftp.zuzuapp.net
FTP & explicit FTPS port:  21
public_html/app
e}I77HX2f9Kf
--------------------------------------------------------------------------------------
Anaweza
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAir8tdNfrQN1WqfLf7g?e=yRqMaJ
marvel = https://marvelapp.com/prototype/850bgc3
https://youngdecade.org/2022/anaweza/admin/index.php
info@mailinator.com
123456

----------------------------------------------------------------------------------------
admin
https://www.poojat.com/app/admin/index
marvel Pujari = https://marvelapp.com/prototype/2gi76fjg
cPanel URL    
https://poojat.com/cpanel
http://116.206.105.225/cpanel
a1645gqh
Poddar@#3212023


FTP
FTP Username: developer@poojat.com
FTP server: ftp.1645792457809-sh.hostgator.in
FTP & explicit FTPS port:  21
password = x%WpSwIDZ%Hv
--------------------------------------------------------------------------------------------------
$video_html =' <a href="../webservice/videos/' . $video . '" target="_blank">Play Video</a>'; 

{{App\Helper\comman_function::getCustomerName1($booking_data->user_id)}}

----------------------------------------------------------------------------------------------
Hello wash
Customer Marvel Link:-  https://marvelapp.com/prototype/6i11d82/screen/86987095
Driver Marvel Link:-  https://marvelapp.com/prototype/17ef1cbe/screen/87421031

Cpanel
https://hellowash.in/cpanel
helloyiu
dwV#J5,{^X#~

FTP
FTP Username: apps@hellowash.in
FTP server: ftp.hellowash.in
FTP & explicit FTPS port:  21
IP = 162.241.118.244
password = No,eH%Va0E7t

var oneSignalAppId         =   "c0d8bb5b-346e-489d-9461-d2da0a226056";
	 var oneSignalAppIdUser         =   "4e1abfa2-d592-44c4-b99b-78b90ce350be";

var oneSignalAuthorization  =   "Y2E5ODQyZGMtZDg1MS00NWJmLWI3MTgtMzBlYTYwN2FhOTU3";
var oneSignalAuthorizationUser  =   "ZTJmNjhjZmUtNTYxOC00MzJjLTkyNDgtOGQwMTAzY2ZlNDVj";

function formatSizeUnits($bytes)
{
        // if ($bytes >= 1073741824)
        // {
        //     $bytes = number_format($bytes / 1073741824, 2) . ' GB';
        // }
        
        if ($bytes >= 1048576)
        {
        $bytes = number_format($bytes / 1048576, 2); //MB return
        }
        else
        {
        $bytes=0;
        }
        // elseif ($bytes >= 1024)
        // {
        //     $bytes = number_format($bytes / 1024, 2) . ' KB';
        // }
        // elseif ($bytes > 1)
        // {
        //     $bytes = $bytes . ' bytes';
        // }
        // elseif ($bytes == 1)
        // {
        //     $bytes = $bytes . ' byte';
        // }
        // else
        // {
        //     $bytes = '0 bytes';
        // }
        
        return $bytes; //returning in MB
}

function compressImage($source, $destination, $quality) { 
    // Get image info 
    $imgInfo = getimagesize($source); 
    $mime = $imgInfo['mime']; 
     
    // Create a new image from file 
    switch($mime){ 
        case 'image/jpeg': 
            $image = imagecreatefromjpeg($source); 
            break; 
        case 'image/png': 
            $image = imagecreatefrompng($source); 
            break; 
        case 'image/gif': 
            $image = imagecreatefromgif($source); 
            break; 
        default: 
            $image = imagecreatefromjpeg($source); 
    } 
     
    // Save image 
    imagejpeg($image, $destination, $quality); 
     
    // Return compressed image 
    return $destination; 
}
function uploadFile($file, $folder_name, $file_type)
{


    $file_extension = strtolower(pathinfo(basename($file["name"]), PATHINFO_EXTENSION));

    $str = generateRandomString(15);
    $str2 = rand();
    $image_name = $str . $str2 . '.' . $file_extension;
    $upload_target = $folder_name . "/" . $image_name;
    
    if($file_type == 'image'){
        // Allow certain file formats 
        $allowTypes = array('jpg','png','jpeg'); 
        if(in_array($file_extension, $allowTypes)){ 
            // Image temp source and size 
            $imageTemp = $file["tmp_name"]; 
            $imageSize = formatSizeUnits($file["size"]); 
             
             $compressedImage = compressImage($imageTemp, $upload_target,50);
             
            // Compress size and upload image 
            // if($imageSize>1){
            //     $compressedImage = compressImage($imageTemp, $upload_target,50); 
            // }else{
            //     $compressedImage = compressImage($imageTemp, $upload_target,100); 
            // }

            return $image_name;
        } else {
            return 'error';
        }
    }else{
        if(move_uploaded_file($file['tmp_name'],$upload_target)){
            return $image_name;
        }
        else{
            return 'error';
        }
    }
}

/*
$file=$_FILES['image'];
$folder_name='images';
$file_type='image';
$upload_status=uploadFile($file, $folder_name, $file_type);
*/


function uploadFileMultiple($file_arr, $folder_name, $file_type)
{
    //require_once('image_resize.php');
    // print_r($file_arr);
    $image_name_arr = array();
    for ($i = 0; $i < count($file_arr["name"]); $i++) {
        if ($file_arr["name"][$i] != '') {
            
            $file_extension = strtolower(pathinfo(basename($file_arr["name"][$i]), PATHINFO_EXTENSION));
            $str = generateRandomString(15);
            $str2 = rand();
            $image_name = $str . $str2 . '.' . $file_extension;
            $upload_target = $folder_name . "/" . $image_name;
    
             if($file_type == 'image'){
            
                    // Allow certain file formats 
                $allowTypes = array('jpg','png','jpeg'); 
                if(in_array($file_extension, $allowTypes)){ 
                    // Image temp source and size 
                    $imageTemp = $file_arr["tmp_name"][$i]; 
                    $imageSize = formatSizeUnits($file_arr["size"][$i]); 
                     
                     $compressedImage = compressImage($imageTemp, $upload_target,50);
                        $image_name_arr[] = $image_name;
                        //return $image_name;
                    } else {
                        //return 'error';
                        //$image_name_arr[]='error';
                    }
            }else{
                if(move_uploaded_file($file['tmp_name'][$i],$upload_target)){
                    $image_name_arr[] = $image_name;
                }
            }
        }
    }
    // for loop closed
    // print_r($file_arr["name"]);
    if(!empty($image_name_arr)){
        return $image_name_arr;
    } else {
        return 'error';
    }
}

//--------------------- image uploading updated code end ---------------------

Hello wash admin details

https://hellowash.in/app/admin/index.php
info@mailinator.com
123456

https://hellowash.in/app/laundryadmin/
washclean@mailinator.com
123456

API URL
https://hellowash.in/app/webservice

Cpanel
https://hellowash.in/cpanel
helloyiu
dwV#J5,{^X#~

Hello wash  Admin details
https://youngdecade.org/2023/Hellowash/admin/index.php
info@mailinator.com
123456

Laundry  Admin Details
https://youngdecade.org/2023/Hellowash/laundryadmin/index.php


 $('#mtype option[value="'+mile_type+'"]').attr('selected', 'selected');

// $('.r1 [value="'+mile_cstatus+'"]').attr('checked', 'checked');
 $("input:radio[value='"+mile_cstatus+"'][name='r1']").prop('checked',true);

//-------------------------------------------------------------------------------
Sussed 

FTP
FTP Username: sussedftp@sussed.site
FTP server: ftp.sussed.site
FTP & explicit FTPS port:  21
paaword=  !=1#XhUCu(0]
IP = 103.20.200.153

crazydomains.com.au domain: 
https://www.crazydomains.com.au/
sussed.siteusername: gedbenn
password: su88edtemp

https://sussed.site/app_temp/admin/index.php
---------------------------------------------------------------------------------------------
FreeTrades
https://freetrade.store/app_temp/admin/
Cpanel
https://gator4151.hostgator.com:2083/
freetrad
lqLrk9oi3i0m#vzJuQ

FTP
FTP Username: apps@freetrade.store
FTP server: ftp.freetrade.store
FTP & explicit FTPS port:  21
password = 3()nDEZuV6a*

---------------------------------------------------------------------------------------

<select data-maximum-selection-length="3" ></select>

---------------------------------------------------
 $('#fileUpload').change(function(event){
    var x = URL.createObjectURL(event.target.files[0]);
     $('#image-holder1').attr('src',x);
  });

    });  

------------------------------------------------------------------------

Trekket App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAisQ_F7MeEevhG9XyaA?e=vfeJMJ 
marvel = https://marvelapp.com/prototype/68d8762
Figma = https://www.figma.com/file/XZnBXpzeIoi6bG7u2X340k/Trekket-(Copy)?node-id=0%3A1&t=pZW0bjWwNhw0kJB1-1


FTP
FTP Username: trekket@youngdecadeprojects.biz
FTP server: ftp.youngdecadeprojects.biz
FTP & explicit FTPS port:  21
password = &]!cW1uCW2ih
IP = 103.195.185.30

https://youngdecade.org/2023/trekket/admin/

---------------------------------------------------------------------------

var eduInput = document.getElementsByName('answer[]');
    for (i=0; i<eduInput.length; i++)
        {
         if (eduInput[i].value == "")
            {
             alert('Please enter answer');       
             return false;
            }
        }

$age = (date('Y') - date('Y',strtotime($dob)));

--------------------------------------------------------------------------------

<style type="text/css">
table td {
word-wrap: break-word;
word-break: break-all;  
white-space:normal !important;

}
    
 </style>

"columnDefs": [
    { "width": "20%", "targets": 0 }
  ]

.page-item.active .page-link {
    z-index: 0;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

 $("#pfield").val("");
$("#pfield").trigger("change");
         
         .btn-grad {
            background-image: linear-gradient(to right, #DC2424 0%, #4A569D  51%, #DC2424  100%);
            margin: 10px;
            padding: 15px 45px;
            text-align: center;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;            
            box-shadow: 0 0 20px #eee;
            border-radius: 10px;
            display: block;
          }



          .btn-grad:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }
         
------------------------------------------------------

veggies admin
Cpanel Login
http://kitchengenie.in//cpanel
Username kitchol5
Password )^qI+gaK=jL2

operation.kitchengenie@gmail.com
123456

FTP Temp
FTP Username: kitchol6@kitchengenie.in
FTP server: ftp.kitchengenie.in
FTP & explicit FTPS port:  21
Password=  Eo?~x8Yt(~im
IP = 208.91.199.108



FTP Live 
FTP Username: kitchol_main@kitchengenie.in
FTP server: ftp.kitchengenie.in
FTP & explicit FTPS port:  21
password = 3Uuu31^tqwre
IP = 208.91.199.108

https://1drv.ms/u/s!Al4smiznLthAivgzuf39DVzgJw2K5A?e=MSDRqt

------------------------------------------------------------------------------------
checkForm: function() {
    this.prepareForm();
        for ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) {
            if (this.findByName( elements[i].name ).length != undefined && this.findByName( elements[i].name ).length > 1) {
                for (var cnt = 0; cnt < this.findByName( elements[i].name ).length; cnt++) {
                    this.check( this.findByName( elements[i].name )[cnt] );
                }
            } 
            else {
                this.check( elements[i] );
            }
        }
        return this.valid();
},

and also give unique id to array input fields
----------------------------------------------------------------------------------

.table-responsive,
.dataTables_scrollBody {
    overflow: visible !important;
}
 
.table-responsive-disabled .dataTables_scrollBody {
    overflow: hidden !important;
}

Swal.fire({
title: "An input!",
text: "Write something interesting:",
input: 'text',
showCancelButton: true ,
confirmButtonColor: 'green'
}).then((result) => {
if (result.value) {
    Swal.fire('Result:'+result.value);
}});

 <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>

Swal.fire({
title: "",
text: "Enter reject reason:",
input: 'text',
showCancelButton: true ,
confirmButtonColor: 'green'
}).then((result) => {
if (result.value == '') {
    alert('Please enter reason!');
}else{
  btnUserActivateDeactivateContinue12(event, order_id, status,result.value);
  
}});
-------------------------------------------------------------------------------
Safelove
https://1drv.ms/u/s!Al4smiznLthAiu1ZvRYejhJTD608Jw?e=NHOZ2l
FTP Username: youngiw2_safelove@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
password:FlNpOe?bxz9u

Marvel link  : 
https://marvelapp.com/prototype/7535djj


dbname :youngiw2_safelove
username :youngiw2_safelove
pwd :h!xO-Ww[?ntL

OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAitB6chK9xcaA3DIoEA?e=xNV32G



------------------------------------------------------------------------------------

not enable back date in date input field
$(function(){
    var dtToday = new Date();

    var month = dtToday.getMonth() + 1;
    var day = dtToday.getDate();
    var year = dtToday.getFullYear();
    if(month < 10)
        month = '0' + month.toString();
    if(day < 10)
        day = '0' + day.toString();

    var minDate= year + '-' + month + '-' + day;

    $('#txtDate').attr('min', minDate);
});

----------------------------------------------------------------------------

Pic Fit App
https://1drv.ms/u/s!Al4smiznLthAiu1dpKnC-AoGtRsXmw?e=gPXQAg
figma picfit : 
https://www.figma.com/proto/njQvEsCk8ZIvI084a46aDg/picfit?node-id=0%3A3&scaling=scale-down&page-id=0%3A1&starting-point-node-id=0%3A77&show-proto-sidebar=1

dbname : youngiw2_picfitapp
username : youngiw2_picfitapp
pwd : kiYR;vC]EKRV

FTP Username: youngiw2_picfit@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
password: Hxg{T2WLv!Bx
Picfit App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAitscUdMN_r2DeMvXmA?e=nK4mkt

One signal App Id=fee1fc86-ec59-4de9-94f2-d2943af40727

Rest Api key=ZmY3MjZmYjgtYTA2OS00YjdlLTkxZTItZmIyZDc5ZmNlMmJj
----------------------------------------------------------------
B2b Admin
https://1drv.ms/u/s!Al4smiznLthAiu1UGM0DGdI_o5Rk1g?e=k40KfV
FTP Username: youngiw2_b2b@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
password: 6xf]-vyue]0C

https://marvelapp.com/prototype/e9j44i6/screen/90354798

dbname : youngiw2_b2b_app
username : youngiw2_b2b_app
pwd :  D&Oy#4!x=#_O

https://onedrive.live.com/?authkey=%21APj210WWVcGf2Os&id=40D82EE72C9A2C5E%21174562&cid=40D82EE72C9A2C5E


 <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD55KwI5yTpdqweRZoCBBnu8ql_clTR-hc&v=3.exp&libraries=places&callback=initMap"></script>


--------------------------------------------------------------------------------
memoryN

https://onedrive.live.com/?authkey=%21AB5iYEUz54X4sqA&id=40D82EE72C9A2C5E%21173494&cid=40D82EE72C9A2C5E


https://www.figma.com/proto/WhVlEZc7jqAL5eqv0SDmyr/Memoryn-Application?page-id=15177%3A8766&node-id=15177%3A8767&viewport=-477%2C-1103%2C0.47&scaling=scale-down&starting-point-node-id=15177%3A8767


db youngiw2_memorynappdb
username youngiw2_memorynapp
pwd : =Hgs$$h*gx1-


FTP Username: memorynapp@youngdecadeprojects.biz
FTP server: ftp.youngdecadeprojects.biz
FTP & explicit FTPS port:  21


IP = 103.195.185.30
 
pwd :  ZB(vJ5mSMu3~

-----------------------------------------------------------------------------------
PharmaDyali App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAitR3hRhgS2WNC3LRMw?e=Uf072w

user 
https://marvelapp.com/prototype/j76ehba/screen/
driver
https://marvelapp.com/prototype/75a80d7/screen/
Database 

db : youngiw2_pharmaappdb
user : youngiw2_pharmaapp
pwd  : E4?5N05aphk,

Pharma FTP
FTP PWD : Csgrg)c?oa7x
FTP Username: pharmaapp@youngdecadeprojects.biz

FTP & explicit FTPS port:  21
IP = 103.195.185.30

https://youngdecade.org/2023/pharma/admin/

-----------------------------------------------------------------------------------------

onchange="findCategory1(this)">
function findCategory1(self) {
              //   alert($(self).val());
              var link = URLAPI + 'manage_all_controller.php';
              var data = {
                action: 'get_client_category',
                type: 'all',
                sel2: $(self).val(),
              }
              apiRequest.get(link, data).then(function(obj) {
                    console.log('obj', obj);
                    if (obj.success === true) {
                      $("#client1").html("");
                      var sub_array = obj.data.user_arr;
                       $("#client1").html("<option value=''>Select sub service</option>");
             
              var html_subcat='';
              $.each(sub_array, function(keysub, valuesub){
            //  for(var i=0;i<sub_array.length;i++){
                html_subcat=  $("#client1").append('<option value="'+valuesub.client_id+'">'+valuesub.client_name+'</option>');
            //  }
              });
                          }
                          else {
                            //------------ Operation Message --------------------
                            var title = msgTitleOperation.userDeleted[language];
                            var messsage = obj.msg[language];
                            msgSuccessErrorHtml.error(title, messsage, msgSuccessErrorHtmlSelector);
                            //------------ Operation Message End--------------------
                            return false;
                          }
                        },
                        function(err) {
                          console.log('err', err);
                          //alert('Server not responde');
                          //------------ Operation Message --------------------
                          var title = msgTitleOperation.errorOnServer[language];
                          var messsage = msgOperations.errorOnServer[language];
                          msgSuccessErrorHtml.warning(title, messsage, msgSuccessErrorHtmlSelector);
                          //------------ Operation Message End--------------------
                          return false;
                        });
                  }

-----------------------------------------------------------------------------------------------------------------------------------------------
 <input type="date" class="form-control" name="cnfd" id="cnfd" placeholder="Enter client next follow date"  value="<?php echo date('Y-m-d',strtotime($getUsersData["client_next_follow_date"])) ?>">
-----------------------------------------------------------------------------------------------------------------------------------------------


 $sql_diatance ="(3956 * 2 * ASIN(SQRT( POWER(SIN(( $latitude - latitude) *  pi()/180 / 2), 2) +COS( $latitude * pi()/180) * COS(latitude * pi()/180) * POWER(SIN(( $longitude - longitude) * pi()/180 / 2), 2) ))) as distance  
                                 ";
<a class="dropdown-item" href="javascript:void(0)" data-id="'.encode($product_id).'"  data-name="'.$product_name.'" data-cat_name="'.$cat_name.'" data-price="'.$product_price.'"  data-image="'.$image.'"  data-serid="'.$service_id.'"    data-catid="'.$sub_service_id.'"   data-producttype="'.$product_type.'"onClick="btnEditCity(this)"><i class="fas fa-edit"></i>&nbsp;Edit</a><li>

<select class="form-control" style="width: 100%;" name="role" id="role">
                                                                <option value="" selected hidden disabled="">Choose Role</option> 

                                                                <?php 
                                                                        $user_id    =   0; 
                                                                        $name           =   '';
                                                                        if(!empty($getEditData['role_ary'])){
                                                                        foreach($getEditData['role_ary'] as $value) {
                                                                        $user_role_id    =   $value['user_role_id'];
                                                                        $role           =   $value['role'];
                                                                  
                                                                ?>
                                                                 
                                                             <option value="<?php echo $user_role_id;?>"><?php echo $role;?></option> 

                                                                 <?php  
                                                                       }
                                                                    } 
                                                                ?>  

                                                             </select>


---------------------------------------------------------------------------------------------------------------------

Leads IMS

FTP Username: youngiw2_leadsims@youngdecadeprojects.biz
FTP server: ftp.youngdecadeprojects.biz
FTP & explicit FTPS port:  21
password:  j5SKAq,QqSDl
IP = 103.195.185.30

https://youngdecade.org/2023/leadsIMS/admin/



-----------------------------------------------------------------------
Pruno water 

https://grapevinebyprunofund.com/app/admin/manage_cities.php
https://gator3148.hostgator.com:2083/
prunoler
BxuAvgkkWxEr2!v45j


.------------------------------------------------------------------------------------------
InstaAssist HairStylist

instahairstylist.com/cpanel
| UserName: instahairstylist
| PassWord: NehVs5&dZi3-

https://instahairstylist.com/app/admin/index.php
instassist.academy@gmail.com
123456

FTP Username: instahairstylist_new@instahairstylist.com
FTP server: ftp.instahairstylist.com
FTP & explicit FTPS port:  21
password:  qL82Ijn[OxOU


----------------------------------------------------------------------------------------------
Vigyapan

FTP Username: youngiw2_vigyapan@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password: }OoXIGxmrxJE

https://youngdecade.org/2023/vigyapn/admin/index.php

https://marvelapp.com/prototype/692dde8

$hostname	=	'localhost';
$username	=	'youngiw2_2023';
$password	=	'C$s98h~tBE2G';
$dbname		=	'youngiw2_vigyapan';

Vigyapn App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAitVz0ANX1utCgwcpgQ?e=gT7Dd9
------------------------------------------------------------------------------------------------

Bootstrap 4 select box
$('select').selectpicker();
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js"></script>

<select class="selectpicker" multiple data-live-search="true">
  <option>Mustard</option>
  <option>Ketchup</option>
  <option>Relish</option>
</select>

------------------------------------------------------------------------------------------------------------

Anaweza Client
Cpanel link
https://login.siteground.com/login
Email: anaweza@gmail.com
Password : anawezA+1

https://anaweza.com/app/admin/

---------------------------------------------
Timechamp link
hangout Link
https://mail.google.com/chat/u/0/#chat/space/AAAAGHXjVB4
Youngdecade cpanel link
https://youngdecade.org:2083/cpsess8516127859/frontend/paper_lantern/index.html?login=1&post_login=32080692778716

$('#sel_milestone option[value="'+mile_id+'"]').attr('selected', 'selected');
 $('#sel_milestone').change();

----------------------------------------------------------------------------------------------------------

Blinks details
http://18.102.71.171/admin/index.php

To connect SFTP
Host = 18.102.71.171
username=ec2-user

http://18.102.71.171/phpMyAdmin/index.php?route=/database/structure&db=blinksappDB
$username = 'root';
$password = 'young2023';

------------------------------------------------------------

Xparking Admin
https://xparkling.com/app/admin/

http://xparkling.com/cpanel
UserName: xparkling
PassWord: yw3h_=bhTZff

------------------------------------------------------------------------------------

Apply App
FTP Username: youngiw2_apply_app@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password:  43UOhPH5E[e#

data base details
$username    =    'youngiw2_apply';
$password    =    '+ulp^u^qEnb5';
$dbname        =    'youngiw2_apply_app';

https://youngdecade.org/2023/applyapp/admin/index.php

-----------------------------------------------------------------------------------

Coffee shop login details 
https://joescoffeestop2.com/app/admin/index.php
timjr@toyotaofberkeley.com
123456
https://joescoffeestop2.com/cpanel
joescoffeestop2
hI)Xhaq+&OXv

--------------------------------------------------------------------------------------------

https://www.heelpbook.net/2020/javascript-jquery-validation-of-file-size-while-uploading/

---------------------------------------------------------------------------------------------------------
YD Media

FTP Username: youngiw2_ydmedia@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21

password: w+uOZy2L5&eT



data base details
DB: youngiw2_YDMediadb
pwd: +-6RJCVwnw=C
user: youngiw2_YDMedia

https://youngdecade.org/2023/YdMedia/admin/index.php

https://stackoverflow.com/questions/9153224/how-to-limit-file-upload-type-file-size-in-php
https://stackoverflow.com/questions/1601455/how-to-check-file-input-size-with-jquery


--------------------------------------------------------------------------------------------------
Employee App

FTP Employee App

FTP Username: youngiw2_employeeApp@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
password: Z@CLux]qc0=m

https://youngdecade.org/2023/EmployeeApp/admin/

Employee App
OneDrive URL = https://1drv.ms/f/s!Al4smiznLthAi5Is9Zet1uJ2ENUtsA?e=ddkpvj
https://www.figma.com/proto/2eTUlFgq3A2aTtBj407CCy/Employee-App?node-id=1-224&scaling=scale-down&page-id=0%3A1&starting-point-node-id=1%3A224

<input type="file" accept=".xlsx,.xls,image/*,.doc, .docx,.ppt, .pptx,.txt,.pdf" />

 if  (extn=="pdf" || extn=="docx" || extn=="doc" || extn=="xlsx" || extn == "xls") {


-----------------------------------------------------------------------------------------------------
Toy App
FTP Username: youngiw2_toy@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password : !hXB(EP8X5GB

https://youngdecade.org/2023/toy/admin/index.php

$username	=	'youngiw2_2023';

$password	=	'C$s98h~tBE2G';


$dbname		=	'youngiw2_toy';

Toys App
OneDrive URL = https://1drv.ms/f/s!Al4smiznLthAi5EGFhFpo1VD4R7QLQ?e=sYe6LB



---------------------------------------------------------------------------------------------------------------


Following the Quora (2020–present)Author has 1K answers and 395.5K answer views11mo
1hour=60minutes=12 rupees

So,1 minute=12/60=0.2 rupees

35 minutes=35*0.2=7rupees

So for 1hour and 35 minutes= 12+7=19rupees .

[I think you have compared rupees to hours may be work done in 1hour gains 12 rupees.]
-------------------------------------------------------------------------------------------------
Soccer App
OneDrive URL = https://1drv.ms/f/s!Al4smiznLthAi4tqaDQsIJy2T_bE7g?e=lBe6cg

https://youngdecade.org/2023/soccer/admin/index.php


FTP Username: youngiw2_soccer@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
Password: X}c@dlBT3vEZ

One Drive
https://onedrive.live.com/?cid=40d82ee72c9a2c5e&id=40D82EE72C9A2C5E%21181738&ithint=folder&authkey=%21AGg0LCCctk%5F2xO4

Marvel
https://marvelapp.com/prototype/197ie00j/screen/91220011
-------------------------------------------------------------------------------------------------------------

 <?php 

                                        $list=array('A' => 0,
'B' => 1,
'C' => 2,
'D' => 3,
'E' => 4,
'F' => 5,
'G' => 6,
'H' => 7,
'I' => 8,
'J' => 9);
                                        $num1 =0;
 $num=2;
 
 $countdigit = countDigits($num);
 echo $countdigit;
 echo '<br>';
 if($countdigit < 4 ){
    
   
       $num1 =sprintf("%04d",$num);
 } 

 if($countdigit >4){
 $num1 = (int)substr($num, 0, 4);
 }



 echo $num1;
echo '<br>';
 $temp='';
 $temp1='';
 $arr_num=str_split ($num1);
foreach($arr_num as $data)
{
$temp.=array_search($data,$list);
}
$num1=$temp;
echo '<br>';

echo $num1; 
$a = date('dmy');
echo '<br>';
echo $a;
echo '<br>';


$arr_num=str_split ($a);
foreach($arr_num as $data)
{
$temp1.=array_search($data,$list);
}
$a=$temp1;
echo $a; 


$todigitstring =generateRandomStringNew(2);
 echo '<br>';

  $productUniqueID = $num1.$a.$todigitstring;
  echo $productUniqueID;exit;
?>
--------------------------------------------------------
indiaSmartServices

marvel link:- https://marvelapp.com/prototype/88cdg5d
OneDrive URL = https://1drv.ms/f/s!Al4smiznLthAi5YTGF8tdNwaA8e5ZA?e=FwPVW9


FTP Password:  E(pdVfBHiNwL
FTP Username: youngiw2_Indiasmartservice@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port:  21
https://youngdecade.org/2023/IndiaSmartBusiness/admin/index.php
--------------------------------------------------------------------------------------------------------

lets go
 
FTP Password: F%3i~iux8#a]
FTP Username: youngiw2_letsgo@youngdecadeprojects.biz
FTP server: 103.195.185.30
FTP & explicit FTPS port: 21

marvel :---- https://marvelapp.com/prototype/2ihicebg/screen/91372064
OneDrive URL = https://1drv.ms/f/s!Al4smiznLthAi4wOz-0X-uP2GWNoZQ?e=VBrfU3
https://youngdecade.org/2023/letsgo/admin/index.php
-----------------------------------------------------------------------------------


Tie App
OneDrive URL = https://1drv.ms/u/s!Al4smiznLthAirAxkk1h-BufB4cqMg?e=4Cv2e1
https://youngdecade.org/2022/tie/admin/

---------------------------------------------------------------------------------